X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fcss%2Fremoteglot.css;h=e0f9444138a83842253f5b7ff9b10faaae9028c8;hp=09b6b089cee4884d7bbcff3eab857d37c4efafd4;hb=f71f5c94d093acda1b39d23cf7a71a21c6a3122b;hpb=243c535dd2efc9d8126aa6c153292d8253239dd9 diff --git a/www/css/remoteglot.css b/www/css/remoteglot.css index 09b6b08..e0f9444 100644 --- a/www/css/remoteglot.css +++ b/www/css/remoteglot.css @@ -1,5 +1,7 @@ body { font-family: sans-serif; + background: white; + color: black; } h1 { margin-top: 0em; @@ -22,6 +24,10 @@ h3 { margin-left: 0.5em; margin-right: 0.5em; } +#lowdepthcontainer { + font-size: x-small; + margin-top: 0; +} #pvcontainer { clear: left; margin-top: 1em; @@ -195,3 +201,28 @@ a.move:hover { .game:last-of-type { border-right: none; } + +.pv, #pv, #history, #lowdepth .depth { /* 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); +} + +}