]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Prune some unused CSS rules.
[remoteglot] / www / css / remoteglot.css
index 672e583d7032d80049b90cad9d112f923cb387f6..3be6850905f6b385ca5000d719313fc99eb4261e 100644 (file)
@@ -14,42 +14,41 @@ h3 {
 #scorecontainer {
        font-size: x-large;
        margin-top: 0;
+       display: grid;
+       grid-template-columns: max-content 1fr;
+       gap: 12px;
 }
 #score {
-       float: left;
+       grid-column: 1;
 }
 #scoresparkcontainer {
+       grid-column: 2;
        overflow: hidden;
+       height: 0.85em;
+       margin-top: 0.15em;
+       width: 100%;
 }
-#scorespark {
-       margin-left: 0.5em;
-       margin-right: 0.5em;
+#sparklinehover {
+       position: absolute;
+       display: none;
+       background-color: rgba(0, 0, 0, 0.6);
+       color: white;
+       font-size: 10px;
+       white-space: nowrap;
+       padding: 5px;
+       border: 1px solid white;
+       z-index: 10000;
 }
 #pvcontainer {
        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;
 }
@@ -99,6 +98,7 @@ p {
        display: block;
        width: 100%;
        padding: 0;
+       transform: translate(0,0);  /* Make it a containing block. */
 }
 #hiddenboard {
        display: none;
@@ -232,3 +232,5 @@ a:link {
 .imbalance-inverted-piece {
        display: initial;
 }
+
+}