]> git.sesse.net Git - remoteglot-book/blobdiff - www/css/remoteglot.css
Load and display the root PGN.
[remoteglot-book] / www / css / remoteglot.css
index da0a3a6051fb2cd903b23cbe8bf17580318e056a..bbd9b707880d44a2fc736663817a2da8527b6c26 100644 (file)
@@ -113,6 +113,10 @@ p {
        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. */
@@ -152,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;
+}