X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fcss%2Fremoteglot.css;h=8551289d6a251ee89336381a5884d4a2a38b5351;hp=6cd931a081547186c0cd82089cdc83006a8d9872;hb=ee7c89056c97c8b999034b5c7f2da0d7570b885f;hpb=1ce57711382bbfd12a23afb6f87c8452fb0f4ecc diff --git a/www/css/remoteglot.css b/www/css/remoteglot.css index 6cd931a..8551289 100644 --- a/www/css/remoteglot.css +++ b/www/css/remoteglot.css @@ -5,6 +5,10 @@ h3 { margin-top: 1em; margin-bottom: 0; } +#score { + font-size: x-large; + margin-top: 0; +} .window { position: absolute; width: 0px; @@ -26,6 +30,9 @@ h3 { .vir path.l1arrow { opacity: 1.0; } +#news { + font-size: smaller; +} #credits { font-size: smaller; } @@ -35,6 +42,11 @@ td { p { margin-top: 0; } +#sortbyscoreholder { + font-size: smaller; + margin: 0; + font-style: italic; +} #refutationlines { font-size: smaller; } @@ -57,14 +69,83 @@ p { .black-3c85d.nonuglyhighlight { background-color: #9ab6a6; } +#boardcontainer { + width: 400px; + margin-right: 1em; + margin-bottom: 1em; + float: left; +} #board { display: block; + width: 100%; + padding: 0; +} +#hiddenboard { + display: none; +} +#bottompanel { + display: block; + width: 100%; + font-size: smaller; + margin-top: 0.5em; + margin-bottom: 0; +} +#numviewers { + width: auto; + text-align: center; +} +#whiteclock { float: left; - width: 400px; - height: 400px; + width: 20%; + text-align: left; +} +#blackclock { + float: right; + width: 20%; + text-align: right; + margin-right: 5px; } #analysis { display: block; min-width: 400px; overflow: hidden; } + +/* If the board is too wide for the screen, shrink it to fit, + * and then put the analysis below. */ +@media all and (max-width: 400px) { + #boardcontainer { + width: 100%; + float: none; + } + #analysis { + min-width: 0; + } +} + +/* If there is almost space for the analysis, shrink the board a bit, too. */ +@media all and (min-width: 500px) and (max-width: 810px) { + #boardcontainer { + float: left; + width: 50%; + } + #analysis { + 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; +}