website view slitaz.css @ rev 749

Use RSS for HG not atom
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 23 23:22:31 2011 +0100 (2011-01-23)
parents 6fa4ffc7415d
children c0047a50f63e
line source
1 /*
2 CSS style for SliTaz Network - (c) 2011 SliTaz GNU/Linux
3 */
5 html {
6 min-height: 102%;
7 }
8 body {
9 background: #ffffff;
10 color: black;
11 font: 13px sans-serif, vernada, arial;
12 margin: 0;
13 border-top: 34px solid #f1f1f1;
14 }
15 a { text-decoration: underline; color: #103a5e; }
16 a:hover { text-decoration: none; color: blue; }
17 img { border: 0pt none; }
19 /* Accessibility */
21 #access {
22 position: absolute;
23 top: 4px;
24 right: 0px;
25 text-align: right;
26 width: auto;
27 margin: 0;
28 padding: 4px 4px 4px 20px;
29 font-size: 11px;
30 font-weight: bold;
31 }
32 #access a {
33 background: transparent;
34 color: #0F314E;
35 text-decoration: none;
36 }
37 #access a:hover { color: #b64b22; }
38 #access img { vertical-align: middle; }
40 /* Header */
42 #header {
43 background: #351a0a url(pics/website/header-img.png) no-repeat top right;
44 color: black;
45 width: 100%;
46 height: 42px;
47 border-top: 1px solid black;
48 border-bottom: 1px solid #999;
49 margin-bottom: 33px;
50 }
51 #titre {
52 position: absolute;
53 font-size: 14px;
54 font-weight: bolder ;
55 left: 180px;
56 top: 4px;
57 }
58 #logo {
59 position: absolute;
60 float: left;
61 left: 16px;
62 top: -10px;
63 width: 200px;
64 height: 74px;
65 }
67 /* Side bar */
69 #nav {
70 position: absolute;
71 top: 102px;
72 right: 80px;
73 color: #555555;
74 float: right;
75 width: 250px;
76 line-height: 1.5em;
77 text-align: left;
78 font-size: 12px;
79 }
80 #nav h4 {
81 font-size: 120%;
82 color: #666666;
83 font-weight: bold;
84 margin: 0;
85 padding: 0 0 1px 0;
86 border-bottom: 1px solid #cecece;
87 }
88 #nav a {
89 color: #0F314E;
90 background: inherit;
91 display: block;
92 text-decoration: none;
93 font-weight: bold;
94 }
95 #nav a:hover {
96 color: #b64b22;
97 text-decoration: none;
98 display: block;
99 }
100 #nav .nav_box ul {
101 list-style-type: none;
102 margin: 0;
103 padding: 10px 24px 10px 0px;
104 background-color: inherit;
105 }
106 #nav li { display: inline; }
107 #nav ul {
108 -moz-border-radius: 8px;
109 -webkit-border-radius: 8px;
110 border-radius: 8px;
111 list-style-type: none;
112 margin: 10px 0;
113 padding: 10px 24px 10px 24px;
114 background-color: #eaeaea;
115 }
116 .nav_box {
117 margin: 10px 0;
118 padding: 10px 24px 10px 24px;
119 background-color: #eaeaea;
120 text-align: justify;
121 }
122 #nav .nav_box p { line-height: 1.3em; }
123 #nav .nav_box p a {
124 display: inline;
125 font-weight: normal;
126 text-decoration: underline;
127 }
128 #nav .nav_box p a:hover {
129 text-decoration: none;
130 color: blue;
131 background: inherit;
132 }
134 /* Page content */
136 #content, #content-full {
137 background: white;
138 color: black;
139 text-align: justify;
140 height: auto;
141 }
142 #content, #content-full {
143 margin: 6px 320px 0px 0px;
144 padding: 0px 40px 60px 80px;
145 }
146 #content-full {
147 margin: 0;
148 padding: 0px 80px 40px 80px;
149 }
150 #content li, #content-full li {
151 line-height: 1.5em;
152 text-align: left;
153 }
154 #news li {
155 list-style-type: square;
156 border-bottom: 1px dotted #BEBEBE;
157 margin-left: -25px;
158 padding: 4px 0px 4px 0px;
159 }
160 #news a { text-decoration: none; }
162 /* Box and block. */
164 .infobox {
165 margin: 20px 60px;
166 padding: 12px;
167 background: #f8f8f8;
168 }
169 .infobox img { vertical-align: middle; }
170 .infobox:hover { background-color: #FBFBFB; }
171 .block {
172 /*padding-bottom: 35%;*/
173 color: black;
174 min-height: 200px;
175 margin-bottom: 40px;
176 }
177 .block ul {
178 list-style-type: none;
179 margin: 0;
180 padding: 0 20px;
181 }
182 .block_left {
183 width: 46%;
184 float: left;
185 background-color: #eaeaea;
186 margin: 4px 2px;
187 padding: 0 10px 10px 10px;
188 }
189 .block_right {
190 width: 46%;
191 float: right;
192 background-color: #eaeaea;
193 margin: 4px 2px;
194 padding: 0 10px 10px 10px;
195 }
196 #block_top {
197 color: black;
198 background-color: #eaeaea;
199 min-height: 180px;
200 margin-bottom: 40px;
201 margin-right: 340px;
202 padding: 0 10px;
203 }
204 #block_nav {
205 width: 300px;
206 min-height: 180px;
207 float: right;
208 background-color: #eaeaea;
209 margin: 0;
210 padding: 0 10px;
211 }
212 .nav_box, .infobox, .block_left, .block_right, #block_top,
213 #block_nav, #footer {
214 -moz-border-radius: 8px;
215 -webkit-border-radius: 8px;
216 border-radius: 8px;
217 -moz-box-shadow: 0 1px 3px #666;
218 -webkit-box-shadow: 0 1px 3px #666;
219 box-shadow: 0 1px 3px #666;
220 /* CSS3 transition */
221 -webkit-transition-property: background-color;
222 -webkit-transition-duration: 2s;
223 -moz-transition-property: background-color;
224 -moz-transition-duration: 2s;
225 transition-property: background-color;
226 transition-duration: 2s;
227 }
228 #block_nav { font-weight: bold; }
229 #block_nav a { text-decoration: none; }
230 #block_nav li a:hover { color: #b64b22; }
231 #block_nav ul { margin: 0; list-style-type: none; }
232 #block_nav h3 { font-size: 110%; }
233 .nav_box:hover, .block_left:hover, .block_right:hover,
234 #block_top:hover, #block_nav:hover, #footer:hover {
235 background-color: #f8f8f8;
236 }
237 .right_box { width: 48%; float: right; }
238 .left_box { width: 48%; float: left; }
240 /* Button */
241 .button { margin-left: 20px; }
242 .button a {
243 background-color: #b64b22;
244 color: #ffffff;
245 margin-right: 6px;
246 padding: 6px 10px;
247 font-size: 14px;
248 -moz-border-radius: 4px;
249 -webkit-border-radius: 4px;
250 border-radius: 4px;
251 -moz-box-shadow: 0 1px 3px #666;
252 -webkit-box-shadow: 0 1px 3px #666;
253 box-shadow: 0 1px 3px #666;
254 }
255 .button a:hover, input[type=submit]:hover {
256 background-color: #a3431f;
257 color: #ffffff;
258 }
259 input[type=submit] {
260 border: 1px solid #b64b22;
261 background-color: #b64b22;
262 color: white;
263 font-weight: bold;
264 cursor: pointer;
265 padding: 3px 10px;
266 font-size: 14px;
267 -moz-border-radius: 2px;
268 -webkit-border-radius: 2px;
269 border-radius: 2px;
270 -moz-box-shadow: 0 0 5px #666;
271 -webkit-box-shadow: 0 0 5px#666;
272 box-shadow: 0 0 5px #666;
273 margin-left: -5px;
274 }
275 input[type=text] {
276 border: 1px solid #333333;
277 padding: 3px;
278 width: 100%;
279 }
281 /* Text transform at 45deg */
282 .floor {
283 color: #999999;
284 font-size: 20px;
285 -webkit-transform: rotate(-45deg) skew(15deg, 15deg);
286 -moz-transform: rotate(-45deg) skew(15deg, 15deg);
287 -o-transform: rotate(-45deg) skew(15deg, 15deg);
288 -ms-transform: rotate(-45deg) skew(15deg, 15deg);
289 transform: rotate(-45deg) skew(15deg, 15deg);
290 }
291 #twitter {
292 margin-top: 20px;
293 -moz-border-radius: 8px;
294 -webkit-border-radius: 8px;
295 border-radius: 8px;
296 -moz-box-shadow: 0 1px 3px #666;
297 -webkit-box-shadow: 0 1px 3px #666;
298 box-shadow: 0 1px 3px #666;
299 }
300 .feed-grid { height: 180px; overflow: hidden; }
301 .feed-grid h3 { margin: 15px 0 0; }
302 .feed-grid span { font-size: 10px; color: #888; margin-left: 24px; }
303 .feed-grid ul { color: #888; }
305 /* Clouds */
306 #cloud {
307 padding: 10px 0px;
308 line-height: 3em;
309 text-align: center;
310 }
311 #cloud a { padding: 0 2px; color: #444444; }
312 #cloud a.tag1 { font-size: 0.7em; font-weight: 100; }
313 #cloud a.tag2 { font-size: 0.8em; font-weight: 200; }
314 #cloud a.tag3 { font-size: 0.9em; font-weight: 300; }
315 #cloud a.tag4 { font-size: 1.0em; font-weight: 400; }
316 #cloud a.tag5 { font-size: 1.2em; font-weight: 500; }
317 #cloud a.tag6 { font-size: 1.4em; font-weight: 600; }
318 #cloud a.tag7 { font-size: 1.6em; font-weight: 700; }
319 #cloud a.tag8 { font-size: 1.8em; font-weight: 800; }
320 #cloud a.tag9 { font-size: 2.2em; font-weight: 900; }
321 #cloud a.tag10 { font-size: 2.5em; font-weight: 900; }
323 /* Slideshow and gallery */
324 #slideshow
325 {
326 overflow: hidden;
327 margin: 10px auto 10px;
328 position: relative;
329 width: 260px;
330 height: 163px;
331 }
332 #slideshow img
333 {
334 border: 0;
335 width: 260px;
336 height: 163px;
337 }
338 #gallery { text-align: center; }
340 /* HTML styles */
342 h1 {
343 color: #444444;
344 background: transparent;
345 text-align: left;
346 margin: 0px 0px 4px 0px;
347 font-size: 150%;
348 font-weight: bold;
349 padding: 5px 0 0 10px;
350 }
351 h2 {
352 color: #b64b22;
353 padding: 0;
354 margin: 20px 0 0 0;
355 font-size: 130%;
356 font-weight: bold;
357 }
358 h3 {
359 font-weight: bold;
360 color: #666666;
361 background: transparent;
362 }
363 h3 img, h2 img {
364 vertical-align: middle;
365 width: 20px;
366 height: 20px;
367 padding-right: 4px;
368 }
369 code, tt {
370 font-size: 12px;
371 color: #669900;
372 }
373 pre, pre.script {
374 padding: 10px;
375 color: black;
376 background: #E8E8E8;
377 border: 1px inset #606060;
378 }
380 /* Packages pages */
382 .pkg_nav {
383 border-top: 1px solid black;
384 margin-top: 10px;
385 padding-top: 10px;
386 }
387 pre.package {
388 padding: 0px;
389 color: black;
390 background: white;
391 }
392 p.get {
393 text-align: center;
394 padding: 10px;
395 color: black;
396 background: #F3F3F3;
397 border: 1px solid #DEDEDE;
398 border-radius: 4px;
399 -moz-border-radius: 4px;
400 -webkit-border-radius: 4px;
401 }
402 p.get a {
403 font-weight: bold;
404 text-decoration: none;
405 }
406 .pkgs-search {
407 text-align: center;
408 padding: 40px 20px 80px 20px;
409 }
411 /* Footer */
413 #footer {
414 margin: 0px 80px 80px 80px;
415 padding: 10px;
416 background: #eaeaea;
417 color: #666666;
418 height: 180px;
419 clear: both;
420 border-radius: 8px;
421 -moz-border-radius: 8px;
422 -webkit-border-radius: 8px;
423 -moz-box-shadow: 0 1px 3px #666;
424 -webkit-box-shadow: 0 1px 3px #666;
425 box-shadow: 0 1px 3px #666;
426 }
427 #footer a { color: #666666; }
428 #footer a:hover { color: #333333; }
429 #footer ul { list-style-type: none; }
430 #footer li { padding: 2px; }
431 #footer h4 { margin: 0 20px; font-size: 125%; }
433 .year:after {
434 /* content: "2007-2011"; */
435 content: "2011";
436 }