summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-04 00:06:09 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-04 00:06:09 +0100
commit5b5748bd0a796ffe3ad6506398e3c651d6fecc57 (patch)
tree91bcd9e74ce39cf96215e48e128d87b704a9774c /stylesheets
parent9101c491153a5016888d05314cebbd67a8bf3322 (diff)
downloadquatuorbellefeuille.com-5b5748bd0a796ffe3ad6506398e3c651d6fecc57.tar.xz
Fix desync between mobile menu "close" image and button
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/commun.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/stylesheets/commun.css b/stylesheets/commun.css
index 58160d9..6b8dc3e 100644
--- a/stylesheets/commun.css
+++ b/stylesheets/commun.css
@@ -312,6 +312,7 @@ footer.legal {
header.slidingmenu > .content > img.button.close {
grid-column: 1;
grid-row: 1;
+ position: fixed;
}
header.slidingmenu > .content header.banner {
grid-column: 2;
@@ -372,6 +373,11 @@ footer.legal {
height: 2em;
}
+ header.slidingmenu > input:checked {
+ position: fixed;
+ width: 3rem;
+ height: 3rem;
+ }
header.slidingmenu > input:checked ~ .content {
transform: none;
}