diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-13 16:28:54 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-13 16:31:27 +0100 |
| commit | 05895da4d1436ed586472145a71ffc27ed16696f (patch) | |
| tree | 971f75e7d23d03f9f47edcddb97a169bebbd4948 /stylesheets | |
| parent | ee85f09babad0e4e31b9a3285412134182ac8719 (diff) | |
| download | quatuorbellefeuille.com-05895da4d1436ed586472145a71ffc27ed16696f.tar.xz | |
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.
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/commun.css | 2 | ||||
| -rw-r--r-- | stylesheets/dark.css | 12 |
2 files changed, 5 insertions, 9 deletions
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); } |
