]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blame - html/html/themes/ipfire/include/css/style.css
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
[people/mfischer/ipfire-2.x.git] / html / html / themes / ipfire / include / css / style.css
CommitLineData
f880f8a2
MT
1
2/* This controls the width of the fixed width layouts */
3
697a4d52 4.fixed {
1ada718c 5 width: 960px !important;
f880f8a2
MT
6}
7
8/* Basic Stuff */
9
10* {
11 margin: 0;
12 padding: 0;
13}
14
697a4d52
MT
15html {
16 height: 100%;
17}
18
f880f8a2 19body {
697a4d52
MT
20 /* SVG as background image (IE9/Chrome/Safari/Opera) */
21 background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMTAwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDAwMDAwIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjODgwNDAwIiBvZmZzZXQ9IjU3JSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c2ODQpIiAvPgo8L3N2Zz4=);
22
23 background-image: linear-gradient(
24 bottom,
25 #000000 0%,
26 #880400 57%
27 );
28 background-image: -o-linear-gradient(
29 bottom,
30 #000000 0%,
31 #880400 57%
32 );
33 background-image: -moz-linear-gradient(
34 bottom,
35 #000000 0%,
36 #880400 57%
37 );
38 background-image: -webkit-linear-gradient(
39 bottom,
40 #000000 0%,
41 #880400 57
42 );
43 background-image: -ms-linear-gradient(
44 bottom,
45 #000000 0%,
46 #880400 57%
47 );
48 background-image: -webkit-gradient(
49 linear,
50 left bottom,
51 left top,
52 color-stop(0, #000000),
53 color-stop(0.57, #880400)
54 );
f880f8a2 55 background-attachment: fixed;
697a4d52 56
f880f8a2 57 font-size: 9pt;
d0c91170 58 font-family: "DejaVu Sans", Helvetica, sans-serif;
f880f8a2
MT
59}
60
b0cffde3 61
697a4d52 62h1, h2, h3, h4, h5, h6 {
f880f8a2
MT
63 font-size: 20px;
64 font-weight: normal;
65 letter-spacing: -1px;
f880f8a2
MT
66 text-align: left;
67}
68
0f9894af 69h1 {
f880f8a2
MT
70 color: #66000F;
71}
72
f880f8a2
MT
73br.clear {
74 clear: both;
75}
76
77img {
78 padding: 3px;
79}
80
f880f8a2
MT
81a {
82 text-decoration: underline;
697a4d52 83 color: #d90000;
f880f8a2
MT
84}
85
86a:hover {
87 text-decoration: none;
88}
89
f880f8a2
MT
90p {
91 line-height: 1.8em;
92}
93
697a4d52
MT
94hr {
95 margin: 0.3em 0 0.3em 0;
96}
97
f880f8a2
MT
98iframe {
99 border: 0;
100}
101
c3f00878
MT
102.pull-right {
103 float: right !important;
104}
105
f880f8a2
MT
106/* Header */
107
108#header {
697a4d52 109 height: 70px;
f880f8a2
MT
110 margin: 0 auto;
111}
112
113/* Logo */
114
115#logo {
697a4d52
MT
116 height: 65px;
117 margin-top: 1em;
f880f8a2
MT
118}
119
120#logo h1 {
f880f8a2
MT
121 color: #fff;
122 font-size: 3.6em;
697a4d52 123 font-weight: bold;
9c9c9cb6 124 padding-top: 0.2em;
697a4d52 125 padding-left: 1.7em;
f880f8a2
MT
126}
127
128/* Main */
129
697a4d52 130.bigbox {
f880f8a2 131 margin: 0 auto;
935f311e 132 margin-top: 0.5em;
697a4d52 133 padding: 1.5em 2em 0 2em;
f14e224b 134 background: #fff url('../../images/n2.gif') 0px 0px repeat-x;
f880f8a2 135 border: 1px solid black;
935f311e
MT
136
137 border-radius: 3px 3px 3px 3px;
138 -webkit-border-radius: 3px 3px 3px 3px;
f880f8a2
MT
139}
140
697a4d52
MT
141#main_inner {
142 padding-bottom: 1.5em;
143}
144
f880f8a2
MT
145#main_inner p {
146 text-align: justify;
697a4d52 147 margin-bottom: 2em;
f880f8a2
MT
148}
149
150#main_inner ul {
697a4d52 151 margin-bottom: 2em;
f880f8a2
MT
152}
153
154#main_inner h1 {
697a4d52 155 font-size: 1.8em;
f880f8a2
MT
156 margin-bottom: 1em;
157}
158
f880f8a2 159#main_inner .post {
f880f8a2 160 border: 1px solid silver;
697a4d52
MT
161 padding: 1em 2em 1em 2em;
162 margin-bottom: 1em;
163 clear: both;
f880f8a2
MT
164}
165
697a4d52
MT
166#main_inner .post h2 {
167 border-bottom: dotted 1px #e1e1e1;
0f9894af 168 font-size: 1.6em;
697a4d52 169 margin-bottom: 1em;
f880f8a2
MT
170}
171
b0323d19
LAH
172#main_header > * {
173 display: inline-block;
174 vertical-align: baseline;
175}
176
177#main_header > span {
178 margin-left: 0.8em;
179}
180
181#main_header img {
182 padding: 0;
183}
184
f880f8a2 185#footer {
697a4d52
MT
186 height: 2.5em;
187 margin-bottom: 1em;
f880f8a2
MT
188}
189
c3f00878
MT
190#footer a {
191 color: inherit;
192 text-decoration: none;
193}
194
195#footer a:hover {
196 text-decoration: underline;
197}
198
f880f8a2
MT
199input {
200 margin: 0.2em;
201}
202
203input.button {
f14e224b 204 background: #ca2f2f url('../../images/n3.gif') repeat-x;
f880f8a2 205 color: #fff;
697a4d52 206 border: solid 1px #a94b4b;
f880f8a2 207 font-weight: bold;
f880f8a2
MT
208 font-size: 0.8em;
209 height: 2.0em;
210}
211
212input.text {
697a4d52
MT
213 border: solid 1px #f1f1f1;
214 padding: 0.25em;
f880f8a2
MT
215}
216
217#traffic {
f880f8a2 218 float: right;
697a4d52
MT
219 min-width: 20em;
220 line-height: 32px;
f880f8a2
MT
221}
222
af731c7d 223/* Menu */
af731c7d 224#cssmenu {
af731c7d 225 margin: 0 auto;
697a4d52
MT
226 margin-top: 0;
227 padding-top: 0;
af731c7d
AM
228 font-weight: 600;
229 height: 32px;
230 border: 1px solid black;
231}
f880f8a2 232
af731c7d 233#cssmenu a {
af731c7d
AM
234 color: #111111;
235 display: inline-block;
af731c7d 236 line-height: 32px;
697a4d52 237 padding: 0 1em;
af731c7d 238 text-decoration: none;
af731c7d
AM
239}
240
241#cssmenu ul {
242 list-style: none;
243}
f880f8a2 244
af731c7d
AM
245#cssmenu > ul > li {
246 display: inline-block;
af731c7d
AM
247}
248
f880f8a2 249#cssmenu > ul > li.active a, #cssmenu > ul > li:hover > a {
af731c7d
AM
250 color: white;
251 background: #aaaaaa;
252}
253
af731c7d
AM
254#cssmenu .has-sub:hover > ul {
255 display: block;
256}
f880f8a2 257
af731c7d
AM
258#cssmenu .has-sub ul {
259 display: none;
260 position: absolute;
d235c1fd 261 z-index: 1;
af731c7d 262}
f880f8a2 263
af731c7d 264#cssmenu .has-sub ul li a {
697a4d52 265 min-width: 12em;
af731c7d
AM
266 background: #ffffff;
267 color: grey;
af731c7d
AM
268 display: block;
269 line-height: 40%;
270 padding: 12px 5px;
271 border: 1px solid black;
272}
f880f8a2 273
af731c7d
AM
274#cssmenu .has-sub ul li:hover a {
275 background: #dddddd;
af731c7d 276}
b5890e73
MT
277
278/* This decorates all tables with class="tbl" */
279
280table {
281 *border-collapse: collapse; /* IE7 and lower */
282 border-spacing: 0;
283}
284
285.tbl th {
286 color: #000000;
287 border-top: 1px solid lightgrey;
288 border-bottom: 1px solid lightgrey;
289 background: #cccccc;
b1be2de7
AM
290 padding-left: 0.5em;
291 padding-right: 0.5em;
b5890e73
MT
292}
293
294.tbl th:first-child {
295 border-left: 1px solid lightgrey;
296 border-top: 1px solid lightgrey;
297 border-bottom: 1px solid lightgrey;
298}
299
300.tbl th:last-child {
301 border-right: 1px solid lightgrey;
302 border-top: 1px solid lightgrey;
303 border-bottom: 1px solid lightgrey;
304}
305
306.tbl th:only-child {
307 border: 1px solid lightgrey;
308}
11e012ef
AM
309.tbl td{
310 padding-left: 0.5em;
b1be2de7 311 padding-right: 0.5em;
11e012ef 312}
b5890e73
MT
313.tbl tr td:first-child {
314 border-left: 1px solid lightgrey;
315}
316
317.tbl tr td:last-child {
318 border-right: 1px solid lightgrey;
319}
320
30491c6a 321.tbl tr:first-child td {
b5890e73
MT
322 border-top: 1px solid lightgrey;
323}
324
325.tbl tr:last-child td:only-child {
326 border-bottom: 1px solid lightgrey;
327}
328
329.tbl tr:last-child td:first-child {
330 border-bottom: 1px solid lightgrey;
331}
332
333.tbl tr:last-child td:last-child {
334 border-bottom: 1px solid lightgrey;
335}
336
337.tbl tr:last-child td {
338 border-bottom: 1px solid lightgrey;
339}
c98b743c
SS
340
341table.fw-nat tbody tr td {
342 height: 2.25em;
343}
a249ccd2 344
9064bc72
LAH
345/* RRD graph images */
346
347div.rrdimage > ul {
348 list-style-type: none;
349 margin: 0;
350 display: flex;
351 justify-content: center;
352}
353.rrdimage li:not(:first-child)::before {
354 content: "-";
355 padding: 0 0.3em;
356}
357
358.rrdimage button {
359 padding: 0.3em;
360 font-weight: 700;
361 color: #d90000; /* link color */
362 border: none;
363 background: none;
364 cursor: pointer;
c095f814 365 text-decoration: none;
9064bc72
LAH
366}
367.rrdimage button:focus {
368 outline: none;
369 box-shadow: none;
370}
371.rrdimage button.selected {
c095f814 372 text-decoration: underline;
9064bc72
LAH
373}
374
375div.rrdimage > img {
3cc3edec 376 padding: 0;
9064bc72
LAH
377 max-width: 100%;
378 min-height: 290px;
a249ccd2 379}