From 9cbb1670eec2d1c0834fc93cef270d62e17a57d6 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 22 Dec 2022 11:35:44 +0100 Subject: [PATCH] =?UTF-8?q?Petits=20ajustements=20de=20pr=C3=A9sentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/juice.scss | 10 +++++++--- 1 file 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; }