]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
Add a hover style to table-hover TRs.
[xonotic/xonstat.git] / xonstat / static / css / app.css
1 /* Fonts */
2 @font-face {
3     font-family: 'Xolonium';
4     src: url('fonts/xolonium.eot');
5     src: url('fonts/xolonium.eot?#iefix') format('embedded-opentype'),
6          url('fonts/xolonium.ttf') format('truetype'),
7          url('fonts/xolonium.woff') format('woff'),
8          url('fonts/xolonium.svg#xoloniumregular') format('svg');
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", "Helvetica Neue", Helvetica, Arial, sans-serif;
18 }
19
20 h1, h2, h3, h4, h5 {
21   color: #C3C3C3;;
22   font-family: "Xolonium", Helvetica, Arial, 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 .name h1 a {
93   color: rgb(200, 200, 200);
94   font-size: 1.1rem;
95   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
96 }
97
98 .top-bar-section ul li {
99   background: none;
100 }
101
102 .top-bar-section ul li > a {
103   color: rgb(200, 200, 200);
104   font-family: 'Xolonium';
105   font-size: 1rem;
106   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
107 }
108
109 .top-bar-section li:not(.has-form) a:not(.button) {
110   line-height: 50px;
111 }
112
113 .top-bar, .contain-to-grid {
114   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
115   margin-bottom: 15px;
116 }
117
118 .top-bar.expanded .title-area {
119   background: none;
120 }
121
122 .top-bar-section li:not(.has-form) a:not(.button) {
123   background: none;
124 }
125
126 .top-bar-section li:not(.has-form) a:not(.button):hover {
127  background: #333;
128 }
129
130 .panel {
131   background-color: #151515;
132   border-color: rgb(40, 40, 40);
133 }
134
135 .panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
136   color: #777777;
137 }
138
139 .th {
140   box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.4);
141 }
142
143 .th:hover, .th:focus {
144   box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.7);
145 }
146
147 /* Footer */
148 #footer {
149   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
150   font-family: sans-serif;
151   font-style: italic;
152   margin: 15px 0px 0px 0px;
153   padding-top: 5px;
154   width: 100%;
155 }
156
157 #footer p {
158   color: white;
159   margin-bottom: 0.5rem;
160   text-align: center;
161 }
162
163 #footer ul {
164   font-size: 1rem;
165   list-style: none;
166   margin-left: 0;
167 }
168
169 #title {
170   color: #08C;
171   font-size: 1.8rem;
172   margin-bottom: 10px;
173   position: relative;
174   text-align: center;
175   text-shadow: 2px 2px 3px #333;
176 }
177
178 .statline {
179   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
180   font-size: 0.9rem;
181   position: relative;
182   top: -10px;
183 }
184
185 .nostretch {
186   overflow: hidden;
187   text-overflow: ellipsis;
188   white-space: nowrap;
189 }
190
191 .button.tiny {
192   margin: 0;
193   padding: 0.5rem 1rem 0.5rem;
194 }
195
196 .tabs dd > a, .tabs .tab-title > a {
197   background: none;
198   color: #aaa;
199   padding: 1rem;
200 }
201
202 .tabs dd > a:hover, .tabs .tab-title > a:hover {
203   background-color: #1D1D1D;
204 }
205
206 .tabs dd.active a, .tabs .tab-title.active a {
207   background-color: #111;
208   color: #aaa;
209 }
210
211 .eloup {
212   color: #008000;
213 }
214
215 .elodown {
216   color: #BE0000;
217 }
218
219 .eloneutral {
220   color: gray;
221 }
222
223 .game {
224   margin-bottom: 1rem;
225 }
226
227 .game a {
228     color: #CCC;
229 }
230
231 .game a:hover {
232     color: #d95f00;
233     text-decoration: none;
234 }
235
236 .game tr {
237     background-color: #000;
238 }
239
240 .game tr.red {
241   background-color: #4d0000;
242 }
243
244 .game tr.blue {
245   background-color: #00004d;
246 }
247
248 .game tr.yellow {
249   background-color: #4d4d00;
250 }
251
252 .game tr.pink {
253   background-color: #4d004d;
254 }
255
256 .teamscore {
257   text-shadow: -1px -1px 0 #222;
258   font-weight: bold;
259 }
260
261 .teamscore .red {
262   color: #ad0000;
263 }
264
265 .teamscore .blue {
266   color: #0000ad;
267 }
268
269 .teamscore .yellow {
270   color: #adad00;
271 }
272
273 .teamscore .pink {
274   color: #ad00ad;
275 }
276
277 .tabs-content {
278   margin-bottom: 0;
279 }