X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fcss%2Fremoteglot.css;h=e0f9444138a83842253f5b7ff9b10faaae9028c8;hp=f44c11f53cdc293ed8e92398923c52b3fa2657c9;hb=f71f5c94d093acda1b39d23cf7a71a21c6a3122b;hpb=ede960749ac60470a75bda41d0121eb055ce2905 diff --git a/www/css/remoteglot.css b/www/css/remoteglot.css index f44c11f..e0f9444 100644 --- a/www/css/remoteglot.css +++ b/www/css/remoteglot.css @@ -1,14 +1,37 @@ body { font-family: sans-serif; + background: white; + color: black; +} +h1 { + margin-top: 0em; } h3 { margin-top: 1em; margin-bottom: 0; } -#score { +#scorecontainer { font-size: x-large; margin-top: 0; } +#score { + float: left; +} +#scoresparkcontainer { + overflow: hidden; +} +#scorespark { + margin-left: 0.5em; + margin-right: 0.5em; +} +#lowdepthcontainer { + font-size: x-small; + margin-top: 0; +} +#pvcontainer { + clear: left; + margin-top: 1em; +} .window { position: absolute; width: 0px; @@ -30,6 +53,9 @@ h3 { .vir path.l1arrow { opacity: 1.0; } +#news { + font-size: smaller; +} #credits { font-size: smaller; } @@ -77,14 +103,43 @@ p { width: 100%; padding: 0; } -#numviewers { +#hiddenboard { + display: none; +} +#bottompanel { display: block; width: 100%; - text-align: center; font-size: smaller; margin-top: 0.5em; margin-bottom: 0; } +#numviewers { + width: auto; + text-align: center; +} +#whiteinfo { + float: left; + text-align: left; + min-width: 20%; +} +#blackinfo { + float: right; + text-align: right; + min-width: 20%; + margin-right: 5px; +} +#whiteimbalance img, #blackimbalance img { + vertical-align: text-top; +} +#whiteimbalance { + margin-left: 5px; +} +#blackimbalance { + margin-right: 5px; +} +.running-clock { + font-weight: bold; +} #analysis { display: block; min-width: 400px; @@ -113,3 +168,61 @@ p { min-width: 0; } } +a.move { + color: black; + text-decoration: none; +} +a.move.highlight { + color: red; + font-weight: bold; +} +a.move:hover { + font-weight: bold; + text-decoration: underline; +} + +#linenav { + display: none; +} +#lomonosov { + display: none; +} + +#games { + font-size: smaller; + margin-bottom: 0.5em; +} +.game { + padding: 0.25em 1em 0.25em 1em; + margin: 0; + background: #eee; + border-right: 1px solid #bbb; +} +.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); +} + +}