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