Améliorations du CSS responsive et navigation sur mobile #17
1 changed files with 7 additions and 3 deletions
|
@ -99,7 +99,7 @@ main {
|
|||
padding: 50px 50px;
|
||||
flex-grow: 1;
|
||||
|
||||
.toc-homepage {
|
||||
.toc-homepage .toc-sticky {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
@ -233,7 +233,10 @@ footer {
|
|||
}
|
||||
}
|
||||
|
||||
/* Disposition spécifique du menu pour mobile; menu déroulable pour mobile */
|
||||
/*
|
||||
Disposition spécifique du menu pour mobile; menu déroulable pour mobile
|
||||
Code inspiré de: https://alvarotrigo.com/blog/hamburger-menu-css/
|
||||
*/
|
||||
|
||||
#menu-toggle {
|
||||
display: none;
|
||||
|
@ -277,9 +280,10 @@ footer {
|
|||
|
||||
main .toc-sticky {
|
||||
border: 0px;
|
||||
padding: 10px 0px;
|
||||
}
|
||||
|
||||
main .toc-homepage {
|
||||
main .toc-homepage .toc-sticky {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue