]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
ce2b71d4470544a0c974520df10a8b5e80da6f16
[xonotic/xonstat.git] / xonstat / static / css / app.css
1 /* Fonts */
2 @font-face {
3     font-family: 'XoloniumNormal';
4     src: url('fonts/xolonium-webfont.eot');
5     src: url('fonts/xolonium-webfont.eot?#iefix') format('embedded-opentype'),
6          url('fonts/xolonium-webfont.woff') format('woff'),
7          url('fonts/xolonium-webfont.ttf') format('truetype'),
8          url('fonts/xolonium-webfont.svg#XoloniumNormal') format('svg');
9     font-weight: normal;
10     font-style: normal;
11 }
12
13
14 /* Primary elements */
15 body {
16     background: url("img/web_background_4.jpg") no-repeat fixed center center / cover  black;
17     background-color: black;
18     color: #D0D0D0;
19     font-family: "XoloniumNormal", "Helvetica Neue", Helvetica, Arial, sans-serif;
20 }
21 h1 small,
22 h2 small,
23 h3 small,
24 h4 small,
25 h5 small,
26 h6 small {
27   font-weight: normal;
28   color: #999999;
29 }
30 h1 {
31   font-size: 30px;
32   line-height: 36px;
33 }
34 h1 small {
35   font-size: 18px;
36 }
37 h2 {
38   font-size: 24px;
39   line-height: 36px;
40 }
41 h2 small {
42   font-size: 18px;
43 }
44 h3 {
45   line-height: 27px;
46   font-size: 18px;
47 }
48 h3 small {
49   font-size: 14px;
50 }
51 h4, h5, h6 {
52   line-height: 18px;
53 }
54 h4 {
55   font-size: 14px;
56 }
57 h4 small {
58   font-size: 12px;
59 }
60 h5 {
61   font-size: 12px;
62 }
63 h6 {
64   font-size: 11px;
65   color: #999999;
66   text-transform: uppercase;
67 }
68 table {
69     background: rgb(0, 0, 0); /* IE Fallback */
70     background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
71     border: 1px solid #436688;
72 }
73 table th { border: 1px solid #436688; background-color: #001021; }
74 table td {
75     border: 1px solid #436688;
76     font-size: 10px;
77 }
78 .table-hover > tbody > tr:hover > td,
79 .table-hover > tbody > tr:hover > th {
80     background-color: #222;
81 }
82 .table th, .table td {
83     border: 1px solid #436688;
84 }
85 .table td {
86     vertical-align: middle;
87 }
88 .table .tdcenter { text-align: center; }
89 .accordion-group {
90     border: 1px solid rgb(39, 37, 37);
91 }
92 .accordion-inner {
93     border: none;
94 }
95
96 /* One-off elements */
97 #statline {
98     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
99     font-size: 13px;
100     position: relative;
101     top: -25px;
102 }
103 #xonborder {
104     background: rgb(0, 0, 0); /* IE Fallback */
105     background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
106     border-radius: 15px 15px 15px 15px;
107     margin-bottom: 30px;
108     margin-left: 0px;
109     padding: 20px;
110 }
111 #title {
112     color: #0088CC;
113     font-size: 30px;
114     margin-bottom: 15px;
115     position: relative;
116     text-align: center;
117     text-shadow: 2px 2px 3px #333;
118 }
119 .indexform {
120     margin: 20px 0px 20px 0px;
121 }
122 .indexbox {
123     width: 250px;
124 }
125
126
127 /* Navigation bar */
128 .navbar-brand {
129     margin-left: 0;
130     padding-bottom: 0px;
131     padding-top: 10px;
132     text-align: left;
133 }
134 .navbar-inverse {
135     background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
136 }
137 .navbar-inverse .nav>.active>a, .navbar-inverse .nav>.active>a:hover, .navbar-inverse .nav>.active>a:focus {
138     background: none repeat scroll 0 0 rgba(49, 49, 49, 0.6);
139 }
140 .navbar-inverse .nav>li>a, .navbar-brand {
141     font-family: XoloniumNormal;
142 }
143 .search, input[type="search"] {
144     background-color: #606060;
145     border: 1px solid #202020;
146     color: #AAAAAA;
147     width: 100px;
148 }
149
150 /* Game scoreboard */
151 .game {
152   float: left;
153   min-width: 700px;
154   padding: 10px 7px;
155 }
156 .game a {
157     color: #CCC;
158 }
159 .game a:hover {
160     color: #d95f00;
161     text-decoration: none;
162 }
163 .game tr {
164     background-color: #000;
165 }
166 .game tr.red {
167   background-color: #4d0000;
168 }
169 .game tr.blue {
170   background-color: #00004d;
171 }
172 .game tr.yellow {
173   background-color: #4d4d00;
174 }
175 .game tr.pink {
176   background-color: #4d004d;
177 }
178 .game tr:hover {
179     background-color: #222;
180 }
181
182 .teamscore {
183   text-align: right;
184   text-shadow: -1px -1px 0 #222;
185   font-size: 20px;
186   font-weight: bold;
187   padding: 10px 7px;
188   margin-right: 5px;
189   margin-top: 12px;
190 }
191 .teamscore .teamname {
192   font-size: 12px;
193 }
194 .teamscore .red {
195   color: #ad0000;
196 }
197 .teamscore .blue {
198   color: #0000ad;
199 }
200 .teamscore .yellow {
201   color: #adad00;
202 }
203 .teamscore .pink {
204   color: #ad00ad;
205 }
206 .player-score { color: #FEFF3A; }
207 .ping { width: 50px; }
208
209 /* accuracy and weapon graphs */
210 .weapon-nav {
211   height: 70px;
212   margin-bottom: 20px;
213 }
214 .weapon-nav ul {
215   display: block;
216   list-style: none outside none;
217 }
218 .weapon-nav li {
219   cursor: pointer;
220   float: left;
221   margin-right: 10px;
222 }
223 .weapon-nav li:hover {
224   border-bottom: 2px solid #001021;
225 }
226 .weapon-nav .weapon-active {
227   border-bottom: 2px solid #436688;
228 }
229 .weapon-nav p {
230   text-align: center;
231 }
232
233 .flot table, .flot td {
234   background-color: black;
235         border: 0;
236 }
237
238 /* Player Info Tabs */
239 #gbtabcontainer { margin-top: 10px; }
240 #gbtab { font-size: 12px; }
241 .tabbable p { font-size: 14px; }
242 .tabs-below .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; }
243 .nav-tabs > .active > a, .nav-tabs > .active > a:hover { background-color: #111; color: #aaa; border-color: #222; }
244 .nav-tabs > .active > a, .nav-tabs > .active > a:focus { background-color: #111; color: #aaa; border-color: #222; }
245 .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; text-align: center; }
246 .nav-tabs > li > a:hover { background-color: #111; border-color: #333; }
247 .nav-tabs { border-bottom: 0px solid #000; }
248
249 .table .tdcenter { text-align: center; }
250
251 /* Game Info and Game Index*/
252 .game-detail img {
253   float: left;
254   margin-right: 10px;
255   margin-bottom: 5px;
256 }
257
258 .game img {
259   float: left;
260   margin-right: 5px;
261   margin-bottom: 5px;
262 }
263
264 .game-detail p,
265 .game h4 {
266   float: left;
267 }
268
269
270 /* Gametype filters */
271 .btn-toolbar .nav > li a {
272     width: 80px;
273 }
274
275 .btn.dropdown-toggle, .btn.dropdown-toggle:active {
276     background: none;
277     border: 1px solid transparent;
278     border-radius:4px 4px 4px 4px;
279     line-height:20px;
280     color: #428bca;
281     padding: 10px 0px 10px 0px;
282     font-size: 14px;
283     outline: 0;
284 }
285 .btn.dropdown-toggle:hover, .btn.dropdown-toggle:focus {
286     background-color:#111;
287     color:#2a6496;
288     border-color:#333;
289 }
290
291 .btn.dropdown-toggle > .caret {
292   height: 21px;
293   border-top-color: #428bca;
294   border-top-width: 8px;
295   border-left-width: 8px;
296   border-right-width: 8px;
297 }
298
299 .dropdown-menu {
300   width: 100px;
301 }
302
303 .dropdown-menu.nav-tabs {
304     padding:4px;
305     background-color: #111;
306     border: 1px solid #333;
307     width: 256px; }
308 .dropdown-menu.nav-tabs > li > a {
309     width:80px;
310     color:inherit;
311 }
312 .dropdown-menu.nav-tabs > li > a:hover {
313     color:#222;
314 }
315
316 /* Player nicknames */
317 .nostretch {
318   overflow: hidden;
319   text-overflow: ellipsis;
320   white-space: nowrap;
321 }
322
323 .player-nick {
324     width: 25%;
325 }
326
327 /* elo colors */
328 .eloup { color: green; }
329 .elodown { color: rgb(190,0,0); }
330 .eloneutral { color: gray; }
331
332 /* Navigation links */
333 .pagination > li > a, .pagination > li > span {
334     background-color: #111111;
335     border-color: rgb(49, 49, 49);
336     color: rgb(121, 121, 121);
337 }
338 .pagination>li>a:hover, .pagination>li>a:focus, .pagination>.active>a, .pagination>.active>span{
339     background-color: rgb(43, 34, 34);
340 }
341
342
343 /* Desktop-specific stuff */
344 @media (min-width: 768px) {
345     .navbar-form {
346         float: right;
347     }
348 }