From 1bc0e66a80707335c9d72faa44ccec3f1bc543b1 Mon Sep 17 00:00:00 2001 From: danix Date: Sun, 26 Feb 2023 06:27:43 +0100 Subject: [PATCH] still testing css variables inside media queries --- gitweb-danixland/gitweb.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; + } } -- 2.20.1