]> git.sesse.net Git - remoteglot/commitdiff
Add some dark mode CSS, for the latest fads.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Jun 2020 07:59:16 +0000 (09:59 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Jun 2020 07:59:16 +0000 (09:59 +0200)
www/css/remoteglot.css

index 09b6b089cee4884d7bbcff3eab857d37c4efafd4..fcd6e5759fd3bbbe5393a3e4e2454b7ab74e7601 100644 (file)
@@ -1,5 +1,7 @@
 body {
        font-family: sans-serif;
+       background: white;
+       color: black;
 }
 h1 {
        margin-top: 0em;
@@ -195,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);
+}
+
+}