Améliorations du CSS responsive et navigation sur mobile #17

Merged
lx merged 7 commits from navigation-mobile into main 2022-12-22 12:45:04 +00:00
Showing only changes of commit 9cbb1670ee - Show all commits

View file

@ -99,7 +99,7 @@ main {
padding: 50px 50px; padding: 50px 50px;
flex-grow: 1; flex-grow: 1;
.toc-homepage { .toc-homepage .toc-sticky {
display: none; 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 { #menu-toggle {
display: none; display: none;
@ -277,9 +280,10 @@ footer {
main .toc-sticky { main .toc-sticky {
border: 0px; border: 0px;
padding: 10px 0px;
} }
main .toc-homepage { main .toc-homepage .toc-sticky {
display: block; display: block;
} }