]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/static/css/app.css
Start styling the home page. Tables, argh...
[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 th, .table-condensed td {
66   padding: 4px 5px;
67 }
68
69 .top-bar {
70   height: 50px;
71 }
72
73 .top-bar .name h1 a {
74   color: rgb(200, 200, 200);
75   font-size: 1.1rem;
76   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
77 }
78
79 .top-bar-section ul li {
80   background: none;
81 }
82
83 .top-bar-section ul li > a {
84   color: rgb(200, 200, 200);
85   font-family: 'Xolonium';
86   font-size: 1rem;
87   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
88 }
89
90 .top-bar-section li:not(.has-form) a:not(.button) {
91   line-height: 50px;
92 }
93
94 .top-bar, .contain-to-grid {
95   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
96   margin-bottom: 15px;
97 }
98
99 .top-bar.expanded .title-area {
100   background: none;
101 }
102
103 .top-bar-section li:not(.has-form) a:not(.button) {
104   background: none;
105 }
106
107 .top-bar-section li:not(.has-form) a:not(.button):hover {
108  background: #333;
109 }
110
111 .panel {
112   background-color: #151515;
113   border-color: rgb(40, 40, 40);
114 }
115
116 .panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
117   color: #777777;
118 }
119
120 .th {
121   box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.4);
122 }
123
124 .th:hover, .th:focus {
125   box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.7);
126 }
127
128
129 /* Footer */
130 #footer {
131   background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
132   font-family: sans-serif;
133   font-style: italic;
134   margin: 15px 0px 0px 0px;
135   padding-top: 5px;
136   width: 100%;
137 }
138
139 #footer p {
140   color: white;
141   margin-bottom: 0.5rem;
142   text-align: center;
143 }
144
145 #footer ul {
146   font-size: 1rem;
147   list-style: none;
148   margin-left: 0;
149 }
150
151 .statline {
152   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
153   font-size: 0.9rem;
154   position: relative;
155   top: -20px;
156 }
157
158 #title {
159   color: #08C;
160   font-size: 1.8rem;
161   margin-bottom: 10px;
162   position: relative;
163   text-align: center;
164   text-shadow: 2px 2px 3px #333;
165 }