diff --git a/modules/darkmode.css b/modules/darkmode.css index a26d891..f21c0c5 100644 --- a/modules/darkmode.css +++ b/modules/darkmode.css @@ -1,11 +1,10 @@ -:root { - --fg: #ccc; - --bg: #111; - --a: #07a; - --a-visited: #aa346d; -} - @media (prefers-color-scheme: dark) { + :root { + --fg: #ccc; + --bg: #111; + --a: #07a; + --a-visited: #aa346d; + } img, video { opacity: .75; transition: opacity .5s ease-in-out;