diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-14 12:24:07 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-14 12:24:07 +0100 |
| commit | 9ed5b1f73490c67aa2ee5cbc6e99abfdaf3ac832 (patch) | |
| tree | 1849ed6f0737e4b7b78f45d68ef7750d612b7211 /stylesheets | |
| parent | af1ef910f5d57fc585f819ad06d8af2d5f10824d (diff) | |
| download | quatuorbellefeuille.com-9ed5b1f73490c67aa2ee5cbc6e99abfdaf3ac832.tar.xz | |
Simplify some CSS rules
Not sure why I added those :not(.active); maybe I was afraid
.active:hover would compound?
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/concerts.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stylesheets/concerts.css b/stylesheets/concerts.css index 7e04261..c9cd240 100644 --- a/stylesheets/concerts.css +++ b/stylesheets/concerts.css @@ -149,14 +149,14 @@ a.event { border-top-left-radius: 0.5em; } - .eventcontainer:not(.active):hover img, - .eventcontainer:not(.active):focus-within img, + .eventcontainer:hover img, + .eventcontainer:focus-within img, .eventcontainer.active img { filter: grayscale(0.8) brightness(0.4); } - .eventcontainer:not(.active):hover .summary, - .eventcontainer:not(.active):focus-within .summary, + .eventcontainer:hover .summary, + .eventcontainer:focus-within .summary, .eventcontainer.active .summary { opacity: 1; } |
