]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Fix a missing closing brace.
[remoteglot] / www / css / remoteglot.css
index fcd6e5759fd3bbbe5393a3e4e2454b7ab74e7601..24a319a0aaf764bab42393578a7c960c60a77ec1 100644 (file)
@@ -1,4 +1,5 @@
-body {
+:root {
+       color-scheme: light dark;
        font-family: sans-serif;
        background: white;
        color: black;
@@ -202,9 +203,14 @@ a.move:hover {
        color: #555;
 }
 
+.imbalance-inverted-piece {
+       display: none;
+       filter: invert(1);
+}
+
 @media (prefers-color-scheme: dark) {
 
-body {
+:root {
        background: black;
        color: #eee;
 }
@@ -220,5 +226,11 @@ a.move, a.move:link {
 a:link {
        color: rgb(128,128,238);
 }
+.imbalance-piece {
+       display: none;
+}
+.imbalance-inverted-piece {
+       display: initial;
+}
 
 }