diff options
-rw-r--r-- | sass/juice.scss | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sass/juice.scss b/sass/juice.scss index c492632..7866bb4 100644 --- a/sass/juice.scss +++ b/sass/juice.scss @@ -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; } |