]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Fix a missing closing brace.
[remoteglot] / www / css / remoteglot.css
index 21a3a85661385007cf45d1ac58f0b08cdc985ab4..24a319a0aaf764bab42393578a7c960c60a77ec1 100644 (file)
@@ -1,5 +1,8 @@
-body {
+:root {
+       color-scheme: light dark;
        font-family: sans-serif;
+       background: white;
+       color: black;
 }
 h1 {
        margin-top: 0em;
@@ -178,6 +181,9 @@ a.move:hover {
 #linenav {
        display: none;
 }
+#lomonosov {
+       display: none;
+}
 
 #games {
        font-size: smaller;
@@ -192,3 +198,39 @@ a.move:hover {
 .game:last-of-type {
        border-right: none;
 }
+
+.pv, #pv, #history {  /* Mute move colors a bit. */
+       color: #555;
+}
+
+.imbalance-inverted-piece {
+       display: none;
+       filter: invert(1);
+}
+
+@media (prefers-color-scheme: dark) {
+
+:root {
+       background: black;
+       color: #eee;
+}
+.pv, #pv, #history {  /* Mute move colors a bit. */
+       color: #bbb;
+}
+#numviewers {
+       color: #bbb;
+}
+a.move, a.move:link {
+       color: #eee;
+}
+a:link {
+       color: rgb(128,128,238);
+}
+.imbalance-piece {
+       display: none;
+}
+.imbalance-inverted-piece {
+       display: initial;
+}
+
+}