]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Add some dark mode CSS, for the latest fads.
[remoteglot] / www / css / remoteglot.css
index 21a3a85661385007cf45d1ac58f0b08cdc985ab4..fcd6e5759fd3bbbe5393a3e4e2454b7ab74e7601 100644 (file)
@@ -1,5 +1,7 @@
 body {
        font-family: sans-serif;
+       background: white;
+       color: black;
 }
 h1 {
        margin-top: 0em;
@@ -178,6 +180,9 @@ a.move:hover {
 #linenav {
        display: none;
 }
+#lomonosov {
+       display: none;
+}
 
 #games {
        font-size: smaller;
@@ -192,3 +197,28 @@ a.move:hover {
 .game:last-of-type {
        border-right: none;
 }
+
+.pv, #pv, #history {  /* Mute move colors a bit. */
+       color: #555;
+}
+
+@media (prefers-color-scheme: dark) {
+
+body {
+       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);
+}
+
+}