From: danix Date: Sun, 26 Feb 2023 05:27:43 +0000 (+0100) Subject: still testing css variables inside media queries X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=1bc0e66a80707335c9d72faa44ccec3f1bc543b1;p=gitweb-theme-danix.git still testing css variables inside media queries --- diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index a6014e3..41b3022 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -48,8 +48,10 @@ a { outline: none; } --fg: #393E46; } @media screen and (prefers-color-scheme: dark) { - --bg: #393E46; - --fg: #D8D9CF; + :root { + --bg: #393E46; + --fg: #D8D9CF; + } }