]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - static/css/style.css
Update planet to use the new layout.
[people/shoehn/ipfire.org.git] / static / css / style.css
CommitLineData
940227cb 1body {
9b5ac075 2 padding-top: 45px;
60024cc8
MT
3}
4
5.container-body {
940227cb 6 background-color: white;
91a446f0 7
60024cc8
MT
8 padding-top: 10px;
9 padding-left: 15px;
10 padding-right: 15px;
11 padding-bottom: 10px;
91a446f0
MT
12}
13
7771acea
MT
14.ac {
15 text-align: center;
16}
17
55b162d6
MT
18.clear {
19 clear: both;
20}
21
22.separator {
23 margin: 40px 0 39px;
24}
25
26.img-padding {
27 padding: 10px;
28}
29
60024cc8
MT
30table.table-fireinfo td.bar {
31 width: 70%;
91a446f0 32}
54b8df1a 33
60024cc8
MT
34table.table-fireinfo td.key {
35 width: 20%;
314d46c8
MT
36}
37
60024cc8
MT
38table.table-fireinfo td.val {
39 width: 10%;
54b8df1a 40}
7771acea
MT
41
42.wishes li div.thumbnail {
43 padding: 1em;
44}
45
46.objectives .icon {
47 padding: 1.2em;
48}
49
50.thumbnails .download-box {
51 padding-top: 2em;
52 padding-left: 2em;
53 padding-right: 2em;
54}
55
9b5ac075
MT
56section {
57 padding-top: 40px;
58}
59
60section > .page-header, section > .lead {
61 color: #5a5a5a;
62}
63
64section > ul li {
65 margin-bottom: 5px;
66}
67
68.jumbotron {
69 position: relative;
70 padding: 40px 0;
71 color: #fff;
72 text-align: center;
73 text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
74 background: #880400; /* Old browsers */
75 background: -moz-linear-gradient(45deg, #000000 0%, #880400 100%); /* FF3.6+ */
76 background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#000000), color-stop(100%,#880400)); /* Chrome,Safari4+ */
77 background: -webkit-linear-gradient(45deg, #000000 0%,#880400 100%); /* Chrome10+,Safari5.1+ */
78 background: -o-linear-gradient(45deg, #000000 0%, #880400 100%); /* Opera 11.10+ */
79 background: -ms-linear-gradient(45deg, #000000 0%, #880400 100%); /* IE10+ */
80 background: linear-gradient(45deg, #000000 0%, #880400 100%); /* W3C */
81 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#880400',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
82 -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
83 -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
84 box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
7771acea
MT
85 margin-bottom: 1em;
86}
9b5ac075
MT
87
88.jumbotron h1 {
89 font-size: 80px;
90 font-weight: bold;
91 letter-spacing: -1px;
92 line-height: 1;
93}
94
95.jumbotron p {
96 font-size: 24px;
97 font-weight: 300;
98 line-height: 1.25;
99 margin-bottom: 30px;
100}
101
102.jumbotron a {
103 color: #fff;
104 color: rgba(255,255,255,.5);
105}
106
107.jumbotron a:hover {
108 color: #fff;
109 text-shadow: 0 0 10px rgba(255,255,255,.25);
110}
111
112/* Download button */
113.masthead .btn, .download-button {
114 padding: 19px 24px;
115 font-size: 24px;
116 font-weight: 200;
117 color: #fff;
118}
119
120.jumbotron .container {
121 position: relative;
122 z-index: 2;
123}
124
125.masthead {
126 padding: 70px 0 60px;
127 margin-bottom: 0;
128 color: #fff;
129}
130
131.masthead h1 {
132 font-size: 120px;
133 line-height: 1;
134 letter-spacing: -2px;
135}
136
137.masthead p {
138 font-size: 40px;
139 font-weight: 200;
140 line-height: 1.25;
141}
142
143.masthead-links {
144 margin: 0;
145 list-style: none;
146}
147
148.masthead-links li {
149 display: inline;
150 padding: 0 10px;
151 color: rgba(255,255,255,.5);
152}
153
154.subhead {
155 text-align: left;
156 border-bottom: 1px solid #ddd;
157}
158
159.subhead h1 {
160 font-size: 60px;
161}
162
163.subhead p {
164 margin-bottom: 20px;
165}
166
167.subhead .navbar {
168 display: none;
169}
170
171.footer {
172/* text-align: center; */
173 padding: 30px 0;
174 margin-top: 70px;
175 border-top: 1px solid #e5e5e5;
176 background-color: #f8f8f8;
177}
178
179.footer p {
180 margin-bottom: 0;
181 color: #777;
182}
183
184.footer-links {
185 margin: 10px 0;
186}
187
188.footer-links li {
189 display: inline;
190 padding: 0 2px;
191}
192
193.footer-links li:first-child {
194 padding-left: 0;
195}
196
197.sidenav {
198 width: 228px;
199 margin: 30px 0 0;
200 padding: 0;
201 background-color: #fff;
202 -webkit-border-radius: 6px;
203 -moz-border-radius: 6px;
204 border-radius: 6px;
205 -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
206 -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
207 box-shadow: 0 1px 4px rgba(0,0,0,.065);
208}
209
210.sidenav > li > a {
211 display: block;
212 width: 190px \9;
213 margin: 0 0 -1px;
214 padding: 8px 14px;
215 border: 1px solid #e5e5e5;
216}
217
218.sidenav > li:first-child > a {
219 -webkit-border-radius: 6px 6px 0 0;
220 -moz-border-radius: 6px 6px 0 0;
221 border-radius: 6px 6px 0 0;
222}
223
224.sidenav > li:last-child > a {
225 -webkit-border-radius: 0 0 6px 6px;
226 -moz-border-radius: 0 0 6px 6px;
227 border-radius: 0 0 6px 6px;
228}
229
230.sidenav > .active > a {
231 position: relative;
232 z-index: 2;
233 padding: 9px 15px;
234 border: 0;
235 text-shadow: 0 1px 0 rgba(0,0,0,.15);
236 -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
237 -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
238 box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
239}
240
241.sidenav .icon-chevron-left {
242 float: left;
243 margin-top: 2px;
244 margin-left: -6px;
245 opacity: .25;
246}
247
248.sidenav > li > a:hover {
249 background-color: #f5f5f5;
250}
251
252.sidenav a:hover .icon-chevron-left {
253 opacity: .5;
254}
255
256.sidenav .active .icon-chevron-left, .sidenav .active a:hover .icon-chevron-left {
257 background-image: url(../img/glyphicons-halflings-white.png);
258 opacity: 1;
259}
260
261.sidenav.affix {
262 top: 40px;
263}
264
265.sidenav.affix-bottom {
266 position: absolute;
267 top: auto;
268 bottom: 270px;
269}
270
271
272@media (min-width: 768px) and (max-width: 979px) {
273 body {
274 padding-top: 0;
275 }
276 .jumbotron {
277 margin-top: -25px; /* Offset bottom margin on .navbar */
278 }
279
280 .sidenav {
281 width: 166px;
282 margin-top: 20px;
283 }
284 .sidenav.affix {
285 top: 0;
286 }
287}
288
289@media (max-width: 767px) {
290 body {
291 padding-top: 0;
292 }
293
294 .jumbotron {
295 padding: 40px 20px;
296 margin-top: -25px; /* Offset bottom margin on .navbar */
297 margin-right: -20px;
298 margin-left: -20px;
299 }
300
301 .masthead h1 {
302 font-size: 90px;
303 }
304
305 .masthead p, .masthead .btn {
306 font-size: 24px;
307 }
308
309 .sidenav {
310 width: auto;
311 margin-bottom: 20px;
312 }
313
314 .sidenav.affix {
315 position: static;
316 width: auto;
317 top: 0;
318 }
319
320 .footer {
321 margin-left: -20px;
322 margin-right: -20px;
323 padding-left: 20px;
324 padding-right: 20px;
325 }
326
327 .footer p {
328 margin-bottom: 9px;
329 }
330}
331
332@media (max-width: 480px) {
333 body {
334 padding-top: 0;
335 }
336
337 h2 small {
338 display: block;
339 }
340
341 .jumbotron h1 {
342 font-size: 45px;
343 }
344
345 .jumbotron p, .jumbotron .btn {
346 font-size: 18px;
347 }
348
349 .jumbotron .btn {
350 display: block;
351 margin: 0 auto;
352 }
353
354 .subhead h1, .subhead p {
355 text-align: center;
356 }
357
358 table code {
359 white-space: normal;
360 word-wrap: break-word;
361 word-break: break-all;
362 }
363
364 .footer {
365 padding-top: 20px;
366 padding-bottom: 20px;
367 }
368}