]> git.sesse.net Git - remoteglot/blob - www/css/remoteglot.css
 Keep track of number of viewers.
[remoteglot] / www / css / remoteglot.css
1 body {
2         font-family: sans-serif;
3 }
4 h3 {
5         margin-top: 1em;
6         margin-bottom: 0;
7 }
8 #score {
9         font-size: x-large;
10         margin-top: 0;
11 }
12 .window {
13         position: absolute;    
14         width: 0px;
15         height: 0px;
16         opacity: 0.0; 
17 }
18 .c1 {
19         opacity: 0.75;
20 }
21 .l1arrow {
22         opacity: 1.0;
23 }
24 .hidden {
25         display: none;
26 }
27 .vir path {
28         opacity: 0.0;
29 }
30 .vir path.l1arrow {
31         opacity: 1.0;
32 }
33 #credits {
34         font-size: smaller;
35 }
36 td {
37         vertical-align: top;
38 }
39 p {
40         margin-top: 0;
41 }
42 #refutationlines {
43         font-size: smaller;
44 }
45 #refutationlines .move {
46         width: 3.5em;
47 }
48 #refutationlines .score {
49         width: 3em;
50         text-align: right;
51         padding-right: 0.5em;
52 }
53 #refutationlines .depth {
54         width: 2em;
55         text-align: right;
56         padding-right: 0.7em;
57 }
58 .white-1e1d7.nonuglyhighlight {
59         background-color: #cce5cf;
60 }
61 .black-3c85d.nonuglyhighlight {
62         background-color: #9ab6a6;
63 }
64 #boardcontainer {
65         width: 400px;
66         margin-right: 1em;
67         margin-bottom: 1em;
68         float: left;
69 }
70 #board {
71         display: block;
72         width: 100%;
73         padding: 0;
74 }
75 #numviewers {
76         display: block;
77         width: 100%;
78         text-align: center;
79         font-size: smaller;
80         margin-top: 0.5em;
81         margin-bottom: 0;
82 }
83 #analysis {
84         display: block;
85         min-width: 400px;
86         overflow: hidden;
87 }
88
89 /* If the board is too wide for the screen, shrink it to fit,
90  * and then put the analysis below. */
91 @media all and (max-width: 400px) {
92         #boardcontainer {
93                 width: 100%;
94                 float: none;
95         }
96         #analysis {
97                 min-width: 0;
98         }
99 }
100
101 /* If there is almost space for the analysis, shrink the board a bit, too. */
102 @media all and (min-width: 500px) and (max-width: 810px) {
103         #boardcontainer {
104                 float: left;
105                 width: 50%;
106         }
107         #analysis {
108                 min-width: 0;
109         }
110 }