aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-22 00:42:54 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-22 00:42:54 +0100
commit3d9ca0ef90bcaaf141f0baceb4e3eea5f2e392f3 (patch)
tree3e64f9519f20dfd3f88998f60ae2eb9ef08eecc1 /sass
parent52ae54d2f8392347e33858e049b41eb191d80d96 (diff)
downloadguide.deuxfleurs.fr-3d9ca0ef90bcaaf141f0baceb4e3eea5f2e392f3.tar.gz
guide.deuxfleurs.fr-3d9ca0ef90bcaaf141f0baceb4e3eea5f2e392f3.zip
Padding main réactif
Diffstat (limited to 'sass')
-rw-r--r--sass/juice.scss11
1 files changed, 9 insertions, 2 deletions
diff --git a/sass/juice.scss b/sass/juice.scss
index 122711e..8167754 100644
--- a/sass/juice.scss
+++ b/sass/juice.scss
@@ -97,7 +97,7 @@ header ul li {
main {
display: flex;
flex-grow: 1;
- padding: 50px 100px;
+ padding: 50px 50px;
margin: 0;
.toc-homepage {
@@ -176,6 +176,9 @@ main details#navigation-toggle summary {
}
@media screen and (min-width: 1280px) {
+ main {
+ padding: 50px 100px;
+ }
.logo {
font-size: 32px;
}
@@ -260,7 +263,7 @@ main details#navigation-toggle summary {
display: none;
}
-.menu-button {
+.menu-button-container {
display: none;
}
@@ -289,6 +292,10 @@ main details#navigation-toggle summary {
}
@media (max-width: 768px) {
+ .menu-button-container {
+ display: block;
+ }
+
main .toc-homepage {
display: block;
}