]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
Use the correct overflow for the ranks row. Percentages too!
[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.3rem;
28 }
29
30 hr {
31   border-color: #1b1b1b;
32 }
33
34 ul, ol, dl {
35   font-size: 1.1rem;
36 }
37
38 table {
39   background: none repeat scroll 0px 0px rgba(0, 0, 0, 0.70);
40   border: 1px solid #436688;
41   border-collapse: collapse;
42   border-spacing: 0;
43 }
44
45 table tr td {
46   font-size: 10px;
47 }
48
49 table thead {
50   background-color: #001021;
51 }
52
53 table td, table th {
54   border: 1px solid #436688;
55 }
56
57 table tr.even, table tr.alt, table tr:nth-of-type(2n) {
58   background: none;
59 }
60
61 table thead tr th, table thead tr td, table tr th, table tr td {
62   color: #D0D0D0;
63 }
64
65 .table-condensed {
66   table-layout: fixed;
67   width: 100%;
68 }
69
70 .table-condensed th, .table-condensed td {
71   padding: 4px 5px;
72 }
73
74 .w15p {
75   width: 15%;
76 }
77
78 .w60p {
79   width: 60%;
80 }
81
82 .w25p {
83   width: 25%;
84 }
85
86 .no-stretch {
87   overflow: hidden;
88   text-overflow: ellipsis;
89   white-space: nowrap;
90 }
91
92 .top-bar {
93   height: 50px;
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';
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 /* Footer */
152 #footer {
153   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
154   font-family: sans-serif;
155   font-style: italic;
156   margin: 15px 0px 0px 0px;
157   padding-top: 5px;
158   width: 100%;
159 }
160
161 #footer p {
162   color: white;
163   margin-bottom: 0.5rem;
164   text-align: center;
165 }
166
167 #footer ul {
168   font-size: 1rem;
169   list-style: none;
170   margin-left: 0;
171 }
172
173 #title {
174   color: #08C;
175   font-size: 1.8rem;
176   margin-bottom: 10px;
177   position: relative;
178   text-align: center;
179   text-shadow: 2px 2px 3px #333;
180 }
181
182 .statline {
183   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
184   font-size: 0.9rem;
185   position: relative;
186   top: -20px;
187 }
188
189 .nostretch {
190   overflow: hidden;
191   text-overflow: ellipsis;
192   white-space: nowrap;
193 }