From 9ed5b1f73490c67aa2ee5cbc6e99abfdaf3ac832 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 14 Mar 2021 12:24:07 +0100 Subject: Simplify some CSS rules Not sure why I added those :not(.active); maybe I was afraid .active:hover would compound? --- stylesheets/concerts.css | 8 ++++---- 1 file 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; } -- cgit v1.2.3