diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-26 18:09:07 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-26 18:09:07 +0100 |
| commit | 24ff9449a06c94c42f778f9c5d46a7c6e9accd57 (patch) | |
| tree | bc5cb40d7b71a4bf5b1722d36de2dcdaa5a06eab /stylesheets | |
| parent | 1c8d3c6ff37892ff4092229039f886dc59619546 (diff) | |
| download | quatuorbellefeuille.com-24ff9449a06c94c42f778f9c5d46a7c6e9accd57.tar.xz | |
Keep thumbnail of opened concerts highlighted
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/actualités.css | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stylesheets/actualités.css b/stylesheets/actualités.css index 280316d..ee1be86 100644 --- a/stylesheets/actualités.css +++ b/stylesheets/actualités.css @@ -109,7 +109,9 @@ a.event { transition: 0.5s; } - .event:hover img, .event:focus-within img { + .event:not(.active):hover img, + .event:not(.active):focus-within img, + .event.active img { filter: grayscale(0.8) brightness(0.4); } @@ -119,7 +121,9 @@ a.event { transition: 0.5s; } - .event:hover .summary, .event:focus-within .summary { + .event:not(.active):hover .summary, + .event:not(.active):focus-within .summary, + .event.active .summary { opacity: 1; } } |
