]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
Port over all older styles (tables in particular).
[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     color: #D0D0D0;
18     font-family: "XoloniumNormal", "Helvetica Neue", Helvetica, Arial, sans-serif;
19 }
20 h1 small,
21 h2 small,
22 h3 small,
23 h4 small,
24 h5 small,
25 h6 small {
26   font-weight: normal;
27   color: #999999;
28 }
29 h1 {
30   font-size: 30px;
31   line-height: 36px;
32 }
33 h1 small {
34   font-size: 18px;
35 }
36 h2 {
37   font-size: 24px;
38   line-height: 36px;
39 }
40 h2 small {
41   font-size: 18px;
42 }
43 h3 {
44   line-height: 27px;
45   font-size: 18px;
46 }
47 h3 small {
48   font-size: 14px;
49 }
50 h4, h5, h6 {
51   line-height: 18px;
52 }
53 h4 {
54   font-size: 14px;
55 }
56 h4 small {
57   font-size: 12px;
58 }
59 h5 {
60   font-size: 12px;
61 }
62 h6 {
63   font-size: 11px;
64   color: #999999;
65   text-transform: uppercase;
66 }
67 table {
68     background: rgb(0, 0, 0); /* IE Fallback */
69     background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
70     border: 1px solid #436688;
71 }
72 table th { border: 1px solid #436688; background-color: #001021; }
73 table td {
74     border: 1px solid #436688;
75     font-size: 10px;
76 }
77 .table-hover > tbody > tr:hover > td,
78 .table-hover > tbody > tr:hover > th {
79     background-color: #222;
80 }
81 .table th, .table td {
82     border: 1px solid #436688;
83 }
84 .table td {
85     vertical-align: middle;
86 }
87 .table .tdcenter { text-align: center; }
88 .accordion-group {
89     border: 1px solid rgb(39, 37, 37);
90 }
91 .accordion-inner {
92     border: none;
93 }
94
95 /* One-off elements */
96 #statline {
97     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
98     font-size: 13px;
99     position: relative;
100     top: -25px;
101 }
102 #xonborder {
103     background: rgb(0, 0, 0); /* IE Fallback */
104     background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
105     border-radius: 15px 15px 15px 15px;
106     margin-bottom: 30px;
107     margin-left: 0px;
108     padding: 20px;
109 }
110 #title {
111     color: #0088CC;
112     font-size: 30px;
113     margin-bottom: 15px;
114     position: relative;
115     text-align: center;
116     text-shadow: 2px 2px 3px #333;
117 }
118 .indexform {
119     margin: 20px 0px 20px 0px;
120 }
121 .indexbox {
122     width: 250px;
123 }
124
125
126 /* Navigation bar */
127 .navbar-brand {
128     margin-left: 0;
129     padding-bottom: 0px;
130     padding-top: 10px;
131     text-align: left;
132 }
133 .navbar-inverse {
134     background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
135 }
136 .navbar-inverse .nav>.active>a, .navbar-inverse .nav>.active>a:hover, .navbar-inverse .nav>.active>a:focus {
137     background: none repeat scroll 0 0 rgba(49, 49, 49, 0.6);
138 }
139 .navbar-inverse .nav>li>a, .navbar-brand {
140     font-family: XoloniumNormal;
141 }
142 .search, input[type="search"] {
143     background-color: #606060;
144     border: 1px solid #202020;
145     color: #AAAAAA;
146     width: 100px;
147 }
148
149 /* Game scoreboard */
150 .game {
151   float: left;
152   margin-bottom: 30px;
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 /* accuracy and weapon graphs */
183 .weapon-nav {
184   height: 70px;
185   margin-bottom: 20px;
186 }
187 .weapon-nav ul {
188   display: block;
189   list-style: none outside none;
190 }
191 .weapon-nav li {
192   cursor: pointer;
193   float: left;
194   margin-right: 10px;
195 }
196 .weapon-nav li:hover {
197   border-bottom: 2px solid #001021;
198 }
199 .weapon-nav .weapon-active {
200   border-bottom: 2px solid #436688;
201 }
202 .weapon-nav p {
203   text-align: center;
204 }
205
206 .flot table, .flot td {
207   background-color: black;
208         border: 0;
209 }
210
211 /* Player Info Tabs */
212 #gbtabcontainer { margin-top: 10px; }
213 #gbtab { font-size: 12px; }
214 .tabbable p { font-size: 14px; }
215 .tabs-below .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; }
216 .nav-tabs > .active > a, .nav-tabs > .active > a:hover { background-color: #111; color: #aaa; border-color: #222; }
217 .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; text-align: center; }
218 .nav-tabs > li > a:hover { background-color: #111; border-color: #333; }
219 .nav-tabs { border-bottom: 0px solid #000; }
220
221 .table .tdcenter { text-align: center; }
222
223 /* Game Info and Game Index*/
224 .game-detail img {
225   float: left;
226   margin-right: 10px;
227   margin-bottom: 5px;
228 }
229
230 .game img {
231   float: left;
232   margin-right: 5px;
233   margin-bottom: 5px;
234 }
235
236 .game-detail p,
237 .game h4 {
238   float: left;
239 }
240
241 /* Desktop-specific stuff */
242 @media (min-width: 768px) {
243     .navbar-form {
244         float: right;
245     }
246 }