summaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-01 23:07:53 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-01 23:09:54 +0100
commit60394bb4e1833ae58f60885099eb72c0b15530e4 (patch)
treed53973cbc5ee44a1271dc79c19e414167e10401b /stylesheets
parent1aa961dcbf14e58d33b7175f42218bd0da66a970 (diff)
downloadquatuorbellefeuille.com-60394bb4e1833ae58f60885099eb72c0b15530e4.tar.xz
Make menu elements easier to recognize
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/commun.css11
-rw-r--r--stylesheets/dark.css6
2 files changed, 17 insertions, 0 deletions
diff --git a/stylesheets/commun.css b/stylesheets/commun.css
index c6c665b..acda5e8 100644
--- a/stylesheets/commun.css
+++ b/stylesheets/commun.css
@@ -265,6 +265,7 @@ footer.legal {
margin: 0;
z-index: 3;
opacity: 0;
+ cursor: pointer;
}
header.slidingmenu img.button {
position: absolute;
@@ -274,6 +275,16 @@ footer.legal {
width: 2.4rem;
height: 2.4rem;
}
+ header.slidingmenu img.button {
+ filter: brightness(0);
+ }
+ header.slidingmenu > input:hover ~ img.button.open,
+ header.slidingmenu > input:focus ~ img.button.open,
+ header.slidingmenu > input:hover ~ .content > img.button.close,
+ header.slidingmenu > input:focus ~ .content > img.button.close {
+ filter: none;
+ }
+
header.slidingmenu > .content {
position: fixed;
overflow: auto;
diff --git a/stylesheets/dark.css b/stylesheets/dark.css
index 0b96216..654d2e0 100644
--- a/stylesheets/dark.css
+++ b/stylesheets/dark.css
@@ -15,3 +15,9 @@ footer.social a.lang:hover {
body > header.banner img, footer.social a img {
filter: brightness(10);
}
+
+@media (max-width: 40em) {
+ header.slidingmenu > img.button.open {
+ filter: brightness(10);
+ }
+}