]> git.sesse.net Git - remoteglot-book/blobdiff - www/css/remoteglot.css
Load and display the root PGN.
[remoteglot-book] / www / css / remoteglot.css
index 8551289d6a251ee89336381a5884d4a2a38b5351..bbd9b707880d44a2fc736663817a2da8527b6c26 100644 (file)
@@ -105,11 +105,18 @@ p {
        text-align: right;
        margin-right: 5px;
 }
+.running-clock {
+       font-weight: bold;
+}
 #analysis {
        display: block;
        min-width: 400px;
        overflow: hidden;
 }
+#rootgame {
+       white-space: pre;
+       font-family: monospace;
+}
 
 /* If the board is too wide for the screen, shrink it to fit,
  * and then put the analysis below. */
@@ -149,3 +156,38 @@ a.move:hover {
 #linenav {
        display: none;
 }
+
+/* Opening display */
+.num {
+       padding-left: 0.5em;
+       padding-right: 0.5em;
+       text-align: right;
+}
+.winbars {
+        width: 20em;
+       font-size: small;
+       font-weight: bold;
+       text-align: center;
+}
+.winbars table {
+       border: 1px solid black;
+       width: 100%;
+       border-collapse: collapse;
+}
+.winbars table td {
+       border: 1px solid black;
+       overflow: hidden;
+       max-width: 0px;
+}
+.winbars table td.white {
+       background-color: white;
+       color: black;
+}
+.winbars table td.draw {
+       background-color: gray;
+       color: white;
+}
+.winbars table td.black {
+       background-color: black;
+       color: white;
+}