]> git.sesse.net Git - remoteglot/blob - www/css/remoteglot.css
Add clock support.
[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 #news {
34         font-size: smaller;
35 }
36 #credits {
37         font-size: smaller;
38 }
39 td {
40         vertical-align: top;
41 }
42 p {
43         margin-top: 0;
44 }
45 #sortbyscoreholder {
46         font-size: smaller;
47         margin: 0;
48         font-style: italic;
49 }
50 #refutationlines {
51         font-size: smaller;
52 }
53 #refutationlines .move {
54         width: 3.5em;
55 }
56 #refutationlines .score {
57         width: 3em;
58         text-align: right;
59         padding-right: 0.5em;
60 }
61 #refutationlines .depth {
62         width: 2em;
63         text-align: right;
64         padding-right: 0.7em;
65 }
66 .white-1e1d7.nonuglyhighlight {
67         background-color: #cce5cf;
68 }
69 .black-3c85d.nonuglyhighlight {
70         background-color: #9ab6a6;
71 }
72 #boardcontainer {
73         width: 400px;
74         margin-right: 1em;
75         margin-bottom: 1em;
76         float: left;
77 }
78 #board {
79         display: block;
80         width: 100%;
81         padding: 0;
82 }
83 #hiddenboard {
84         display: none;
85 }
86 #bottompanel {
87         display: block;
88         width: 100%;
89         font-size: smaller;
90         margin-top: 0.5em;
91         margin-bottom: 0;
92 }
93 #numviewers {
94         width: auto;
95         text-align: center;
96 }
97 #whiteclock {
98         float: left;
99         width: 20%;
100         text-align: left;
101 }
102 #blackclock {
103         float: right;
104         width: 20%;
105         text-align: right;
106         margin-right: 5px;
107 }
108 #analysis {
109         display: block;
110         min-width: 400px;
111         overflow: hidden;
112 }
113
114 /* If the board is too wide for the screen, shrink it to fit,
115  * and then put the analysis below. */
116 @media all and (max-width: 400px) {
117         #boardcontainer {
118                 width: 100%;
119                 float: none;
120         }
121         #analysis {
122                 min-width: 0;
123         }
124 }
125
126 /* If there is almost space for the analysis, shrink the board a bit, too. */
127 @media all and (min-width: 500px) and (max-width: 810px) {
128         #boardcontainer {
129                 float: left;
130                 width: 50%;
131         }
132         #analysis {
133                 min-width: 0;
134         }
135 }
136 a.move {
137         color: black;
138         text-decoration: none;
139 }
140 a.move.highlight {
141         color: red;
142         font-weight: bold;
143 }
144 a.move:hover {
145         font-weight: bold;
146         text-decoration: underline;
147 }
148
149 #linenav {
150         display: none;
151 }