]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Fix visualization of Chess960 moves where the king does not move.
[remoteglot] / www / css / remoteglot.css
index b0aadab79dffc7c6e39ab948216d252b42e50ad2..09b6b089cee4884d7bbcff3eab857d37c4efafd4 100644 (file)
@@ -1,14 +1,31 @@
 body {
        font-family: sans-serif;
 }
+h1 {
+       margin-top: 0em;
+}
 h3 {
        margin-top: 1em;
        margin-bottom: 0;
 }
-#score {
+#scorecontainer {
        font-size: x-large;
        margin-top: 0;
 }
+#score {
+       float: left;
+}
+#scoresparkcontainer {
+       overflow: hidden;
+}
+#scorespark {
+       margin-left: 0.5em;
+       margin-right: 0.5em;
+}
+#pvcontainer {
+       clear: left;
+       margin-top: 1em;
+}
 .window {
        position: absolute;    
        width: 0px;
@@ -30,6 +47,9 @@ h3 {
 .vir path.l1arrow {
        opacity: 1.0;
 }
+#news {
+       font-size: smaller;
+}
 #credits {
        font-size: smaller;
 }
@@ -80,14 +100,40 @@ p {
 #hiddenboard {
        display: none;
 }
-#numviewers {
+#bottompanel {
        display: block;
        width: 100%;
-       text-align: center;
        font-size: smaller;
        margin-top: 0.5em;
        margin-bottom: 0;
 }
+#numviewers {
+       width: auto;
+       text-align: center;
+}
+#whiteinfo {
+       float: left;
+       text-align: left;
+       min-width: 20%;
+}
+#blackinfo {
+       float: right;
+       text-align: right;
+       min-width: 20%;
+       margin-right: 5px;
+}
+#whiteimbalance img, #blackimbalance img {
+       vertical-align: text-top;
+}
+#whiteimbalance {
+       margin-left: 5px;
+}
+#blackimbalance {
+       margin-right: 5px;
+}
+.running-clock {
+       font-weight: bold;
+}
 #analysis {
        display: block;
        min-width: 400px;
@@ -120,6 +166,10 @@ a.move {
        color: black;
        text-decoration: none;
 }
+a.move.highlight {
+       color: red;
+       font-weight: bold;
+}
 a.move:hover {
        font-weight: bold;
        text-decoration: underline;
@@ -128,3 +178,20 @@ a.move:hover {
 #linenav {
        display: none;
 }
+#lomonosov {
+       display: none;
+}
+
+#games {
+       font-size: smaller;
+       margin-bottom: 0.5em;
+}
+.game {
+       padding: 0.25em 1em 0.25em 1em;
+       margin: 0;
+       background: #eee;
+       border-right: 1px solid #bbb;
+}
+.game:last-of-type {
+       border-right: none;
+}