]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Fix dark mode borders on mobile.
[remoteglot] / www / css / remoteglot.css
index fcd6e5759fd3bbbe5393a3e4e2454b7ab74e7601..42bf1b9c0b88105721aabbd73127978d9813bb1d 100644 (file)
@@ -1,4 +1,5 @@
-body {
+:root {
+       color-scheme: light dark;
        font-family: sans-serif;
        background: white;
        color: black;
@@ -204,7 +205,7 @@ a.move:hover {
 
 @media (prefers-color-scheme: dark) {
 
-body {
+:root {
        background: black;
        color: #eee;
 }