]> git.sesse.net Git - remoteglot/blob - www/css/remoteglot.css
f44c11f53cdc293ed8e92398923c52b3fa2657c9
[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 #sortbyscoreholder {
43         font-size: smaller;
44         margin: 0;
45         font-style: italic;
46 }
47 #refutationlines {
48         font-size: smaller;
49 }
50 #refutationlines .move {
51         width: 3.5em;
52 }
53 #refutationlines .score {
54         width: 3em;
55         text-align: right;
56         padding-right: 0.5em;
57 }
58 #refutationlines .depth {
59         width: 2em;
60         text-align: right;
61         padding-right: 0.7em;
62 }
63 .white-1e1d7.nonuglyhighlight {
64         background-color: #cce5cf;
65 }
66 .black-3c85d.nonuglyhighlight {
67         background-color: #9ab6a6;
68 }
69 #boardcontainer {
70         width: 400px;
71         margin-right: 1em;
72         margin-bottom: 1em;
73         float: left;
74 }
75 #board {
76         display: block;
77         width: 100%;
78         padding: 0;
79 }
80 #numviewers {
81         display: block;
82         width: 100%;
83         text-align: center;
84         font-size: smaller;
85         margin-top: 0.5em;
86         margin-bottom: 0;
87 }
88 #analysis {
89         display: block;
90         min-width: 400px;
91         overflow: hidden;
92 }
93
94 /* If the board is too wide for the screen, shrink it to fit,
95  * and then put the analysis below. */
96 @media all and (max-width: 400px) {
97         #boardcontainer {
98                 width: 100%;
99                 float: none;
100         }
101         #analysis {
102                 min-width: 0;
103         }
104 }
105
106 /* If there is almost space for the analysis, shrink the board a bit, too. */
107 @media all and (min-width: 500px) and (max-width: 810px) {
108         #boardcontainer {
109                 float: left;
110                 width: 50%;
111         }
112         #analysis {
113                 min-width: 0;
114         }
115 }