From 5c60597f3225afaaa2cce0cbd2278a12f28b4d71 Mon Sep 17 00:00:00 2001 From: Jonas Martinez <36544012+jonas-martinez@users.noreply.github.com> Date: Sun, 7 Jul 2024 15:43:56 +0200 Subject: [PATCH] fix: Burger button color in light theme (#3) --- css/home.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/css/home.css b/css/home.css index 1eba7d6..23c2bb0 100644 --- a/css/home.css +++ b/css/home.css @@ -108,7 +108,9 @@ body>nav { &>label>img { cursor: pointer; - filter: invert(99%) sepia(9%) saturate(674%) hue-rotate(178deg) brightness(99%) contrast(94%); + @media (prefers-color-scheme: dark) { + filter: invert(99%) sepia(9%) saturate(674%) hue-rotate(178deg) brightness(99%) contrast(94%); + } } } } @@ -159,7 +161,8 @@ body>section:nth-of-type(2) { @media (prefers-color-scheme: dark) { &>a>img { - filter: brightness(0) saturate(100%) invert(99%) sepia(9%) saturate(674%) hue-rotate(178deg) brightness(99%) contrast(94%);; + filter: brightness(0) saturate(100%) invert(99%) sepia(9%) saturate(674%) hue-rotate(178deg) brightness(99%) contrast(94%); + ; } } }