]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - html/html/themes/ipfire/include/css/style.css
theme: Make table borders lighter.
[people/teissler/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
4c2910e9 19/* This decorates all tables with class="tbl" */
b0cffde3
AM
20
21table {
22 *border-collapse: collapse; /* IE7 and lower */
23 border-spacing: 0;
24}
25
4c2910e9 26.tbl th {
b0cffde3 27 color: #000000;
412a1f43
MT
28 border-top: 1px solid lightgrey;
29 border-bottom: 1px solid lightgrey;
b0cffde3
AM
30 background: #cccccc;
31}
4c2910e9
MT
32
33.tbl th:first-child {
412a1f43
MT
34 border-left: 1px solid lightgrey;
35 border-top: 1px solid lightgrey;
36 border-bottom: 1px solid lightgrey;
b0cffde3 37}
4c2910e9 38
b0cffde3 39.tbl th:last-child {
412a1f43
MT
40 border-right: 1px solid lightgrey;
41 border-top: 1px solid lightgrey;
42 border-bottom: 1px solid lightgrey;
b0cffde3 43}
4c2910e9
MT
44
45.tbl th:only-child {
412a1f43 46 border: 1px solid lightgrey;
b0cffde3
AM
47}
48
4c2910e9 49.tbl tr td:first-child {
412a1f43 50 border-left: 1px solid lightgrey;
b0cffde3 51}
4c2910e9
MT
52
53.tbl tr td:last-child {
412a1f43 54 border-right: 1px solid lightgrey;
b0cffde3 55}
4c2910e9
MT
56
57.tbl tr:first-child td:only-child {
412a1f43 58 border-top: 1px solid lightgrey;
b0cffde3 59}
4c2910e9
MT
60
61.tbl tr:last-child td:only-child {
412a1f43 62 border-bottom: 1px solid lightgrey;
b0cffde3 63}
4c2910e9
MT
64
65.tbl tr:last-child td:first-child {
412a1f43 66 border-bottom: 1px solid lightgrey;
b0cffde3 67}
4c2910e9
MT
68
69.tbl tr:last-child td:last-child {
412a1f43 70 border-bottom: 1px solid lightgrey;
b0cffde3 71}
4c2910e9
MT
72
73.tbl tr:last-child td {
412a1f43 74 border-bottom: 1px solid lightgrey;
b0cffde3
AM
75}
76
f880f8a2 77body {
697a4d52
MT
78 /* SVG as background image (IE9/Chrome/Safari/Opera) */
79 background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMTAwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDAwMDAwIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjODgwNDAwIiBvZmZzZXQ9IjU3JSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c2ODQpIiAvPgo8L3N2Zz4=);
80
81 background-image: linear-gradient(
82 bottom,
83 #000000 0%,
84 #880400 57%
85 );
86 background-image: -o-linear-gradient(
87 bottom,
88 #000000 0%,
89 #880400 57%
90 );
91 background-image: -moz-linear-gradient(
92 bottom,
93 #000000 0%,
94 #880400 57%
95 );
96 background-image: -webkit-linear-gradient(
97 bottom,
98 #000000 0%,
99 #880400 57
100 );
101 background-image: -ms-linear-gradient(
102 bottom,
103 #000000 0%,
104 #880400 57%
105 );
106 background-image: -webkit-gradient(
107 linear,
108 left bottom,
109 left top,
110 color-stop(0, #000000),
111 color-stop(0.57, #880400)
112 );
f880f8a2 113 background-attachment: fixed;
697a4d52 114
f880f8a2 115 font-size: 9pt;
d0c91170 116 font-family: "DejaVu Sans", Helvetica, sans-serif;
f880f8a2
MT
117}
118
b0cffde3 119
697a4d52 120h1, h2, h3, h4, h5, h6 {
f880f8a2
MT
121 font-size: 20px;
122 font-weight: normal;
123 letter-spacing: -1px;
f880f8a2
MT
124 text-align: left;
125}
126
0f9894af 127h1 {
f880f8a2
MT
128 color: #66000F;
129}
130
f880f8a2
MT
131br.clear {
132 clear: both;
133}
134
135img {
136 padding: 3px;
137}
138
f880f8a2
MT
139a {
140 text-decoration: underline;
697a4d52 141 color: #d90000;
f880f8a2
MT
142}
143
144a:hover {
145 text-decoration: none;
146}
147
f880f8a2
MT
148p {
149 line-height: 1.8em;
150}
151
697a4d52
MT
152hr {
153 margin: 0.3em 0 0.3em 0;
154}
155
f880f8a2
MT
156iframe {
157 border: 0;
158}
159
c3f00878
MT
160.pull-right {
161 float: right !important;
162}
163
f880f8a2
MT
164/* Header */
165
166#header {
697a4d52 167 height: 70px;
f880f8a2
MT
168 margin: 0 auto;
169}
170
171/* Logo */
172
173#logo {
697a4d52
MT
174 height: 65px;
175 margin-top: 1em;
f14e224b 176 background: url('../../images/tux2.png') no-repeat;
f880f8a2
MT
177}
178
179#logo h1 {
f880f8a2
MT
180 color: #fff;
181 font-size: 3.6em;
697a4d52 182 font-weight: bold;
9c9c9cb6 183 padding-top: 0.2em;
697a4d52 184 padding-left: 1.7em;
f880f8a2
MT
185}
186
187/* Main */
188
697a4d52 189.bigbox {
f880f8a2 190 margin: 0 auto;
935f311e 191 margin-top: 0.5em;
697a4d52 192 padding: 1.5em 2em 0 2em;
f14e224b 193 background: #fff url('../../images/n2.gif') 0px 0px repeat-x;
f880f8a2 194 border: 1px solid black;
935f311e
MT
195
196 border-radius: 3px 3px 3px 3px;
197 -webkit-border-radius: 3px 3px 3px 3px;
f880f8a2
MT
198}
199
697a4d52
MT
200#main_inner {
201 padding-bottom: 1.5em;
202}
203
f880f8a2
MT
204#main_inner p {
205 text-align: justify;
697a4d52 206 margin-bottom: 2em;
f880f8a2
MT
207}
208
209#main_inner ul {
697a4d52 210 margin-bottom: 2em;
f880f8a2
MT
211}
212
213#main_inner h1 {
697a4d52 214 font-size: 1.8em;
f880f8a2
MT
215 margin-bottom: 1em;
216}
217
f880f8a2 218#main_inner .post {
f880f8a2 219 border: 1px solid silver;
697a4d52
MT
220 padding: 1em 2em 1em 2em;
221 margin-bottom: 1em;
222 clear: both;
f880f8a2
MT
223}
224
697a4d52
MT
225#main_inner .post h2 {
226 border-bottom: dotted 1px #e1e1e1;
0f9894af 227 font-size: 1.6em;
697a4d52 228 margin-bottom: 1em;
f880f8a2
MT
229}
230
f880f8a2 231#footer {
697a4d52
MT
232 height: 2.5em;
233 margin-bottom: 1em;
f880f8a2
MT
234}
235
c3f00878
MT
236#footer a {
237 color: inherit;
238 text-decoration: none;
239}
240
241#footer a:hover {
242 text-decoration: underline;
243}
244
f880f8a2
MT
245input {
246 margin: 0.2em;
247}
248
249input.button {
f14e224b 250 background: #ca2f2f url('../../images/n3.gif') repeat-x;
f880f8a2 251 color: #fff;
697a4d52 252 border: solid 1px #a94b4b;
f880f8a2 253 font-weight: bold;
f880f8a2
MT
254 font-size: 0.8em;
255 height: 2.0em;
256}
257
258input.text {
697a4d52
MT
259 border: solid 1px #f1f1f1;
260 padding: 0.25em;
f880f8a2
MT
261}
262
263#traffic {
f880f8a2 264 float: right;
697a4d52
MT
265 min-width: 20em;
266 line-height: 32px;
f880f8a2
MT
267}
268
af731c7d 269/* Menu */
af731c7d 270#cssmenu {
af731c7d 271 margin: 0 auto;
697a4d52
MT
272 margin-top: 0;
273 padding-top: 0;
af731c7d
AM
274 font-weight: 600;
275 height: 32px;
276 border: 1px solid black;
277}
f880f8a2 278
af731c7d 279#cssmenu a {
af731c7d
AM
280 color: #111111;
281 display: inline-block;
af731c7d 282 line-height: 32px;
697a4d52 283 padding: 0 1em;
af731c7d 284 text-decoration: none;
af731c7d
AM
285}
286
287#cssmenu ul {
288 list-style: none;
289}
f880f8a2 290
af731c7d
AM
291#cssmenu > ul > li {
292 display: inline-block;
af731c7d
AM
293}
294
f880f8a2 295#cssmenu > ul > li.active a, #cssmenu > ul > li:hover > a {
af731c7d
AM
296 color: white;
297 background: #aaaaaa;
298}
299
af731c7d
AM
300#cssmenu .has-sub:hover > ul {
301 display: block;
302}
f880f8a2 303
af731c7d
AM
304#cssmenu .has-sub ul {
305 display: none;
306 position: absolute;
af731c7d 307}
f880f8a2 308
af731c7d 309#cssmenu .has-sub ul li a {
697a4d52 310 min-width: 12em;
af731c7d
AM
311 background: #ffffff;
312 color: grey;
af731c7d
AM
313 display: block;
314 line-height: 40%;
315 padding: 12px 5px;
316 border: 1px solid black;
317}
f880f8a2 318
af731c7d
AM
319#cssmenu .has-sub ul li:hover a {
320 background: #dddddd;
af731c7d 321}