diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-13 10:22:52 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-13 10:22:52 +0100 |
| commit | 111e4ac7c10dd63b27a6a24047743b2fb82037ee (patch) | |
| tree | 57f3a0065f7f545b23584679f322636c2908a8ea /stylesheets/concerts.css | |
| parent | 3c89b21fbdf014d22fafbfa9d630b68ea3f4855d (diff) | |
| download | quatuorbellefeuille.com-111e4ac7c10dd63b27a6a24047743b2fb82037ee.tar.xz | |
Translate "canceled" marker
Also move away from ::before to comply with WCAG 1.3.1, specifically
by avoiding F87.
https://www.w3.org/TR/WCAG21/#info-and-relationships
https://www.w3.org/WAI/WCAG21/Techniques/failures/F87
Diffstat (limited to 'stylesheets/concerts.css')
| -rw-r--r-- | stylesheets/concerts.css | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/stylesheets/concerts.css b/stylesheets/concerts.css index 9df1ed9..b03bdc2 100644 --- a/stylesheets/concerts.css +++ b/stylesheets/concerts.css @@ -58,9 +58,8 @@ a.event { opacity: 50%; transition: 0.5s; } -.event.canceled .summary::before { +.event.canceled .summary .canceled { display: block; - content: "ANNULÉ"; color: red; } .event.canceled:hover, @@ -102,9 +101,7 @@ a.event { font-size: x-small; } -.details.canceled::before { - display: block; - content: "ANNULÉ"; +.details.canceled > .canceled { color: red; } |
