]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Handle streaming PGNs, like from Lichess (although this might break non-streaming...
[remoteglot] / www / css / remoteglot.css
index c2aba8fd410f885aaa861135b42e74ab726f2152..a2e221fd0847b5c5a0ba1694fe4c9a4bff49b11b 100644 (file)
@@ -1,4 +1,4 @@
-:root {
+html {
        color-scheme: light dark;
        font-family: sans-serif;
        background: white;
@@ -28,10 +28,6 @@ h3 {
        margin-top: 0.15em;
        width: 100%;
 }
-#scorespark {
-       margin-left: 0.5em;
-       margin-right: 0.5em;
-}
 #sparklinehover {
        position: absolute;
        display: none;
@@ -47,27 +43,12 @@ h3 {
        clear: left;
        margin-top: 1em;
 }
-.window {
-       position: absolute;    
-       width: 0px;
-       height: 0px;
-       opacity: 0.0; 
-}
 .c1 {
        opacity: 0.75;
 }
-.l1arrow {
-       opacity: 1.0;
-}
 .hidden {
        display: none;
 }
-.vir path {
-       opacity: 0.0;
-}
-.vir path.l1arrow {
-       opacity: 1.0;
-}
 #news {
        font-size: smaller;
 }
@@ -124,7 +105,7 @@ p {
 }
 #bottompanel {
        display: block;
-       width: 100%;
+       width: calc(100% + 4px);
        font-size: smaller;
        margin-top: 0.5em;
        margin-bottom: 0;
@@ -200,9 +181,6 @@ a.move:hover {
 #linenav {
        display: none;
 }
-#lomonosov {
-       display: none;
-}
 
 #games {
        font-size: smaller;
@@ -227,6 +205,11 @@ a.move:hover {
        filter: invert(1);
 }
 
+.imbalance-piece, .imbalance-inverted-piece {
+       width: 15px;
+       height: 15px;
+}
+
 @media (prefers-color-scheme: dark) {
 
 :root {