]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
3a0d146955846be226222d5dbb2c7456ddd763aa
[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   margin-bottom: 30px;
154   min-width: 700px;
155   padding: 10px 7px;
156 }
157 .game a {
158     color: #CCC;
159 }
160 .game a:hover {
161     color: #d95f00;
162     text-decoration: none;
163 }
164 .game tr {
165     background-color: #000;
166 }
167 .game tr.red {
168   background-color: #4d0000;
169 }
170 .game tr.blue {
171   background-color: #00004d;
172 }
173 .game tr.yellow {
174   background-color: #4d4d00;
175 }
176 .game tr.pink {
177   background-color: #4d004d;
178 }
179 .game tr:hover {
180     background-color: #222;
181 }
182
183 /* accuracy and weapon graphs */
184 .weapon-nav {
185   height: 70px;
186   margin-bottom: 20px;
187 }
188 .weapon-nav ul {
189   display: block;
190   list-style: none outside none;
191 }
192 .weapon-nav li {
193   cursor: pointer;
194   float: left;
195   margin-right: 10px;
196 }
197 .weapon-nav li:hover {
198   border-bottom: 2px solid #001021;
199 }
200 .weapon-nav .weapon-active {
201   border-bottom: 2px solid #436688;
202 }
203 .weapon-nav p {
204   text-align: center;
205 }
206
207 .flot table, .flot td {
208   background-color: black;
209         border: 0;
210 }
211
212 /* Player Info Tabs */
213 #gbtabcontainer { margin-top: 10px; }
214 #gbtab { font-size: 12px; }
215 .tabbable p { font-size: 14px; }
216 .tabs-below .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; }
217 .nav-tabs > .active > a, .nav-tabs > .active > a:hover { background-color: #111; color: #aaa; border-color: #222; }
218 .nav-tabs > .active > a, .nav-tabs > .active > a:focus { background-color: #111; color: #aaa; border-color: #222; }
219 .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; text-align: center; }
220 .nav-tabs > li > a:hover { background-color: #111; border-color: #333; }
221 .nav-tabs { border-bottom: 0px solid #000; }
222
223 .table .tdcenter { text-align: center; }
224
225 /* Game Info and Game Index*/
226 .game-detail img {
227   float: left;
228   margin-right: 10px;
229   margin-bottom: 5px;
230 }
231
232 .game img {
233   float: left;
234   margin-right: 5px;
235   margin-bottom: 5px;
236 }
237
238 .game-detail p,
239 .game h4 {
240   float: left;
241 }
242
243 /* Gametype filters */
244 .btn-toolbar .nav > li a {
245     width: 80px;
246
247
248 .btn.dropdown-toggle, .btn.dropdown-toggle:active {
249     background: none;
250     border: 1px solid transparent;
251     border-radius:4px 4px 4px 4px;
252     line-height:20px;
253     color: #428bca;
254     padding: 10px 0px 10px 0px;
255     font-size: 14px;
256     outline: 0;
257 }
258 .btn.dropdown-toggle:hover, .btn.dropdown-toggle:focus {
259     background-color:#111;
260     color:#2a6496;
261     border-color:#333;
262 }
263
264 .btn.dropdown-toggle > .caret {
265   height: 21px;
266   border-top-color: #428bca;
267   border-top-width: 8px;
268   border-left-width: 8px;
269   border-right-width: 8px;
270 }
271
272 .dropdown-menu {
273   width: 100px;
274 }
275
276 .dropdown-menu.nav-tabs {
277     padding:4px;
278     background-color: #111;
279     border: 1px solid #333;
280     width: 256px; }
281 .dropdown-menu.nav-tabs > li > a {
282     width:80px;
283     color:inherit;
284 }
285 .dropdown-menu.nav-tabs > li > a:hover {
286     color:#222;
287 }
288
289 /* Player nicknames */
290 .nostretch {
291   overflow: hidden;
292   text-overflow: ellipsis;
293   white-space: nowrap;
294 }
295
296 /* elo colors */
297 .eloup { color: green; }
298 .elodown { color: rgb(190,0,0); }
299 .eloneutral { color: gray; }
300
301 /* Navigation links */
302 .pagination > li > a, .pagination > li > span {
303     background-color: #111111;
304     border-color: rgb(49, 49, 49);
305     color: rgb(121, 121, 121);
306 }
307 .pagination>li>a:hover, .pagination>li>a:focus, .pagination>.active>a, .pagination>.active>span{
308     background-color: rgb(43, 34, 34);
309 }
310
311
312 /* Desktop-specific stuff */
313 @media (min-width: 768px) {
314     .navbar-form {
315         float: right;
316     }
317 }