From 05895da4d1436ed586472145a71ffc27ed16696f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 13 Mar 2021 16:28:54 +0100 Subject: Use darker shade of gold The ratio between the original shade and a white background was below what the WCAG prescribes. Keep the original shade for the index, since the background is darker there. --- stylesheets/commun.css | 2 +- stylesheets/dark.css | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'stylesheets') diff --git a/stylesheets/commun.css b/stylesheets/commun.css index fdf4162..0c50ad3 100644 --- a/stylesheets/commun.css +++ b/stylesheets/commun.css @@ -1,5 +1,5 @@ body { - --gold: #E4B63A; + --gold: #BE8B00; margin: 0; background-color: white; diff --git a/stylesheets/dark.css b/stylesheets/dark.css index 0263d46..455ea72 100644 --- a/stylesheets/dark.css +++ b/stylesheets/dark.css @@ -16,12 +16,8 @@ footer.social a.lang:hover { border-color: white; } -body > header.banner img, footer.social a img { - filter: brightness(10); -} - -@media (max-width: 40em) { - header.slidingmenu > img.button.open { - filter: brightness(10); - } +body > header.banner img, +footer.social a img, +header.slidingmenu > img.button.open { + filter: brightness(0) invert(1); } -- cgit v1.2.3