]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
17c6a1108778c065c29461ce71099d9cee3d05cb
[xonotic/xonstat.git] / xonstat / static / css / app.css
1 /* Fonts */
2 @font-face {
3   font-family: 'Xolonium';
4   src: url('fonts/xolonium-regular.eot');
5   src: url('fonts/xolonium-regular.eot?#iefix') format('embedded-opentype'),
6        url('fonts/xolonium-regular.woff2') format('woff2'),
7        url('fonts/xolonium-regular.woff') format('woff'),
8        url('fonts/xolonium-regular.ttf') format('truetype');
9   font-weight: normal;
10   font-style: normal;
11 }
12
13 body {
14   background-color: #0F0F0F;
15   background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) repeat scroll 0% 0%, url("img/bg.jpg") no-repeat fixed center center / cover black;
16   color: #9B9B9B;
17   font-family: Xolonium, sans-serif;
18 }
19
20 h1, h2, h3, h4, h5 {
21   color: #C3C3C3;
22   font-family: Xolonium, sans-serif;
23 }
24
25 p {
26   color: #C3C3C3;
27   font-size: 1.2rem;
28 }
29
30 hr {
31   border-color: #1b1b1b;
32 }
33
34 ul, ol, dl {
35   font-size: 1.1rem;
36 }
37
38 fieldset {
39   border: none;
40 }
41
42 table {
43   background: none repeat scroll 0px 0px rgba(0, 0, 0, 0.70);
44   border: 1px solid #436688;
45   border-collapse: collapse;
46   border-spacing: 0;
47 }
48
49 table tr td {
50   font-size: 10px;
51 }
52
53 table thead, table th {
54   background-color: #001021;
55 }
56
57 table td, table th {
58   border: 1px solid #436688;
59 }
60
61 table tr.even, table tr.alt, table tr:nth-of-type(2n) {
62   background: none;
63 }
64
65 table thead tr th, table thead tr td, table tr th, table tr td {
66   color: #D0D0D0;
67 }
68
69 .table-condensed {
70   table-layout: fixed;
71   width: 100%;
72 }
73
74 .table-hover tr:hover {
75     background-color: #222;
76 }
77
78 .table-condensed th, .table-condensed td {
79   padding: 4px 5px;
80 }
81
82 .no-stretch {
83   overflow: hidden;
84   text-overflow: ellipsis;
85   white-space: nowrap;
86 }
87
88 .top-bar {
89   height: 50px;
90 }
91
92 .top-bar, .top-bar-section {
93   display: inline-block;
94 }
95
96 .top-bar .name h1 a {
97   color: rgb(200, 200, 200);
98   font-size: 1.1rem;
99   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
100 }
101
102 .top-bar-section ul li {
103   background: none;
104 }
105
106 .top-bar-section ul li > a {
107   color: rgb(200, 200, 200);
108   font-family: Xolonium, sans-serif;
109   font-size: 1rem;
110   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
111 }
112
113 .top-bar-section li:not(.has-form) a:not(.button) {
114   line-height: 50px;
115 }
116
117 .top-bar, .contain-to-grid {
118   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
119   margin-bottom: 15px;
120 }
121
122 .top-bar.expanded .title-area {
123   background: none;
124 }
125
126 .top-bar-section li:not(.has-form) a:not(.button) {
127   background: none;
128 }
129
130 .top-bar-section li:not(.has-form) a:not(.button):hover {
131  background: #333;
132 }
133
134 .panel {
135   background-color: #151515;
136   border-color: rgb(40, 40, 40);
137 }
138
139 .panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
140   color: #777777;
141 }
142
143 .th {
144   box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.4);
145 }
146
147 .th:hover, .th:focus {
148   box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.7);
149 }
150
151 /* accordion overrides */
152 .accordion .accordion-navigation, .accordion dd {
153   border: 1px solid #222222;
154   margin-bottom: 5px;
155 }
156
157 .accordion .accordion-navigation > a, .accordion dd > a {
158   background: none;
159   color: #C3C3C3;
160   font-family: Xolonium, sans-serif;
161   font-size: 0.8rem;
162 }
163
164 .accordion .accordion-navigation > .content.active, .accordion dd > .content.active {
165   background: none;
166 }
167
168 .accordion .accordion-navigation.active > a, .accordion .accordion-navigation > a:hover {
169   background: #242424;
170 }
171
172 ul.accordion {
173   margin-left: 0;
174 }
175
176 /* Footer */
177 #footer {
178   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
179   font-family: sans-serif;
180   font-style: italic;
181   margin: 15px 0px 0px 0px;
182   padding-top: 5px;
183   width: 100%;
184 }
185
186 #footer p {
187   color: white;
188   margin-bottom: 0.5rem;
189   text-align: center;
190 }
191
192 #footer ul {
193   font-size: 1rem;
194   list-style: none;
195   margin-left: 0;
196 }
197
198 #title {
199   color: #08C;
200   font-size: 1.8rem;
201   margin-bottom: 10px;
202   position: relative;
203   text-align: center;
204   text-shadow: 2px 2px 3px #333;
205 }
206
207 .statline {
208   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
209   font-size: 0.9rem;
210   position: relative;
211   top: -10px;
212 }
213
214 .nostretch {
215   overflow: hidden;
216   text-overflow: ellipsis;
217   white-space: nowrap;
218 }
219
220 .button.tiny {
221   margin: 0;
222   padding: 0.5rem 1rem 0.5rem;
223 }
224
225 .tabs dd > a, .tabs .tab-title > a {
226   background: none;
227   color: #aaa;
228   padding: 1rem;
229 }
230
231 .tabs dd > a:hover, .tabs .tab-title > a:hover {
232   background-color: #1D1D1D;
233 }
234
235 .tabs dd.active a, .tabs .tab-title.active a {
236   background-color: #111;
237   color: #aaa;
238 }
239
240 .eloup {
241   color: #008000;
242 }
243
244 .elodown {
245   color: #BE0000;
246 }
247
248 .eloneutral {
249   color: gray;
250 }
251
252 .game {
253   margin-bottom: 1rem;
254 }
255
256 .game a {
257     color: #CCC;
258 }
259
260 .game a:hover {
261     color: #d95f00;
262     text-decoration: none;
263 }
264
265 .game tr {
266     background-color: #000;
267 }
268
269 .game tr.red {
270   background-color: #4d0000;
271 }
272
273 .game tr.blue {
274   background-color: #00004d;
275 }
276
277 .game tr.yellow {
278   background-color: #4d4d00;
279 }
280
281 .game tr.pink {
282   background-color: #4d004d;
283 }
284
285 .teamscore {
286   text-shadow: -1px -1px 0 #222;
287   font-weight: bold;
288 }
289
290 .teamscore .red {
291   color: #ad0000;
292 }
293
294 .teamscore .blue {
295   color: #0000ad;
296 }
297
298 .teamscore .yellow {
299   color: #adad00;
300 }
301
302 .teamscore .pink {
303   color: #ad00ad;
304 }
305
306 .player-score {
307   color: #FEFF3A;
308 }
309
310 .tabs-content {
311   margin-bottom: 0;
312 }