]> git.sesse.net Git - remoteglot/blobdiff - www/css/remoteglot.css
Fix a bug where “next move” would not work.
[remoteglot] / www / css / remoteglot.css
index d7592b95f83a54980aacd719b7f946fa679a1149..b0aadab79dffc7c6e39ab948216d252b42e50ad2 100644 (file)
@@ -1,6 +1,14 @@
 body {
        font-family: sans-serif;
 }
+h3 {
+       margin-top: 1em;
+       margin-bottom: 0;
+}
+#score {
+       font-size: x-large;
+       margin-top: 0;
+}
 .window {
        position: absolute;    
        width: 0px;
@@ -31,6 +39,11 @@ td {
 p {
        margin-top: 0;
 }
+#sortbyscoreholder {
+       font-size: smaller;
+       margin: 0;
+       font-style: italic;
+}
 #refutationlines {
        font-size: smaller;
 }
@@ -53,3 +66,65 @@ p {
 .black-3c85d.nonuglyhighlight {
        background-color: #9ab6a6;
 }
+#boardcontainer {
+       width: 400px;
+       margin-right: 1em;
+       margin-bottom: 1em;
+       float: left;
+}
+#board {
+       display: block;
+       width: 100%;
+       padding: 0;
+}
+#hiddenboard {
+       display: none;
+}
+#numviewers {
+       display: block;
+       width: 100%;
+       text-align: center;
+       font-size: smaller;
+       margin-top: 0.5em;
+       margin-bottom: 0;
+}
+#analysis {
+       display: block;
+       min-width: 400px;
+       overflow: hidden;
+}
+
+/* If the board is too wide for the screen, shrink it to fit,
+ * and then put the analysis below. */
+@media all and (max-width: 400px) {
+       #boardcontainer {
+               width: 100%;
+               float: none;
+       }
+       #analysis {
+               min-width: 0;
+       }
+}
+
+/* If there is almost space for the analysis, shrink the board a bit, too. */
+@media all and (min-width: 500px) and (max-width: 810px) {
+       #boardcontainer {
+               float: left;
+               width: 50%;
+       }
+       #analysis {
+               min-width: 0;
+       }
+}
+a.move {
+       color: black;
+       text-decoration: none;
+}
+a.move:hover {
+       font-weight: bold;
+       text-decoration: underline;
+}
+
+#linenav {
+       display: none;
+}