website view slitaz.css @ rev 1243

2015
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 05 16:37:10 2015 +0100 (2015-01-05)
parents 9d8b7e54f6ea
children 8952c0649ed6
line source
1 /*
2 CSS style for SliTaz Network - (C) 2015 SliTaz GNU/Linux
3 */
5 html {
6 min-height: 102%;
7 }
9 body {
10 background: #ffffff;
11 color: black;
12 font: 13px sans-serif, vernada, arial;
13 margin: 0;
14 min-width: 780px;
15 height: 100%;
16 }
18 a { text-decoration: underline; color: #215090; }
19 a:hover { text-decoration: none; }
20 img { border: 0pt none; vertical-align: middle; }
21 h2 { color: #444; font-size: 180%; }
22 h3 { color: #666; font-size: 140%; }
23 h4 { color: #888; font-size: 120%; }
24 h2, h3 { border-bottom: 1px dashed #afafaf; padding-bottom: 5px; }
25 li { list-style-type: square; }
26 pre {
27 background-color: #f8f8f8;
28 border: 1px solid #ddd;
29 padding: 10px;
30 }
32 /* Header */
34 #header {
35 height: 40px;
36 background: #111 url(images/logo.png) no-repeat left;
37 }
39 #header h1 {
40 margin: 0;
41 padding: 8px 0 8px 42px;
42 width: 280px;
43 font-size: 20px;
44 font-style: italic;
45 }
47 #header h1 a {
48 color: white;
49 text-decoration: none;
50 }
52 #header h1 a:hover, #network a:hover, #network span {
53 color: #afafaf;
54 }
56 #searchbtn {
57 position: absolute;
58 right: 8px;
59 top: 48px;
60 }
62 /* Logo */
64 #logo {
65 background: url(images/logo.png) no-repeat left;
66 position: absolute;
67 float: left;
68 left: 0px;
69 top: 0px;
70 width: 40px;
71 height: 40px;
72 }
74 /* SliTaz Network */
76 #network {
77 float: right;
78 padding: 14px 5px 0;
79 font-size: 12px;
80 }
82 #network a, #network span { padding: 0 4px; }
83 #network span { font-weight: bold; }
85 /* Block */
87 #block {
88 min-height: 180px;
89 background: #ccc;
90 padding: 20px 10% 0px;
91 text-align: center;
92 color: #222;
93 border-bottom: 1px solid #afafaf;
94 }
96 #block_info {
97 text-align: justify;
98 width: 48%;
99 padding: 10px 10px 0 0;
100 }
102 #block a, #network a {
103 color: #fff;
104 font-weight: bold;
105 text-decoration: none;
106 }
108 #block h4 {
109 color: #222;
110 margin: 0px;
111 font-weight: bold;
112 font-size: 110%;
113 }
115 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
116 #block_info a { font-weight: normal; color: #215090; }
117 #block_info a:hover { text-decoration: underline; }
118 #block ul { list-style-type: square; }
119 #block_nav a:hover { color: #afafaf; }
121 /* Navigation */
123 #block_nav {
124 background: #666;
125 padding: 10px 10px 20px;
126 text-align: justify;
127 width: 48%;
128 float: right;
129 }
131 #block_nav ul {
132 list-style-type: none;
133 margin: 6px 0;
134 padding: 0;
135 }
137 #block_nav h4 img {
138 margin: 0 4px 0 0;
139 padding: 0;
140 }
142 .dlbutton {
143 background: #333 url("/images/download-30.png") no-repeat 4px center;
144 padding-left: 38px;
145 -webkit-transition: background-color 0.6s;
146 transition: background-color 0.5s;
147 }
148 .dldiv { margin: 30px 0; }
150 /*
151 *
152 *
153 * Navigation NG
154 *
155 *
156 * */
158 nav {
159 font-size: 120%;
160 min-height: 100px;
161 background: #ddd;
162 padding: 56px 6% 0;
163 text-align: center;
164 color: #222;
165 border-bottom: 1px solid #afafaf;
166 top: 40px;
167 }
169 nav ul {
170 margin: 0; padding: 0;
171 list-style: none;
172 }
173 nav li { display: inline; }
175 nav a, .dlbutton {
176 text-decoration: none;
177 padding: 12px;
178 color: #fff;
179 font-weight: bold;
180 vertical-align: middle;
181 -webkit-transition: background-color 0.6s;
182 transition: background-color 0.5s;
183 }
184 nav p { padding: 8px; color: #333; font-size: 92%; }
186 .nav1 { background-color: #333; }
187 .nav1:hover { background-color: #128da9; }
188 .nav2 { background-color: #ab3c00; }
189 .nav2:hover { background-color: #ff9b00; }
190 .navpi { background-color: #444; }
191 .navpi:hover { background-color: #bc1142; }
193 /* Languages */
195 #lang {
196 padding: 8px;
197 font-size: 12px;
198 position: absolute;
199 right: 0px;
200 color: #666;
201 }
202 #lang .flag { font-size: 14px; }
203 #lang .flag:hover { text-decoration: none; }
205 #lang a, #lang strong, #lang span {
206 text-decoration: none;
207 padding: 0 2px;
208 }
210 #lang a:hover {
211 text-decoration: underline;
212 }
214 .box #lang { text-align: center; position: relative;
215 font-size: 13px; } /* for /i18n page */
217 /* Content */
219 #content {
220 padding: 30px 80px;
221 text-align: justify;
222 }
223 #content li { line-height: 1.6em; }
225 .news li {
226 border-bottom: 1px dotted #BEBEBE;
227 margin-left: -25px;
228 padding: 4px 0px 4px 0px;
229 }
231 .news a, .feed-grid a { text-decoration: none; }
232 .news p a { text-decoration: underline; }
233 .news p a:hover { text-decoration: none; }
234 #twitter { margin: 20px 0; text-align: center; }
235 #gallery { text-align: center; }
237 #sponsor {
238 font-size: 90%;
239 background-color: #fbfbfb;
240 border: 2px solid #ddd;
241 width: 200px;
242 height: 160px;
243 float: right;
244 text-align: center;
245 margin: 20px 0px 20px 20px;
246 }
248 /* Classes */
250 .mobile { display: none !important; }
252 .right_box { width: 48%; float: right; }
253 .left_box { width: 48%; float: left; }
255 .box {
256 margin: 20px 60px;
257 padding: 12px;
258 background: #efefef;
259 border: 1px solid #ddd;
260 }
262 .box-dl, .box-up {
263 margin: 20px 0;
264 min-height: 48px;
265 border: 1px solid #ddd;
266 vertical-align: middle;
267 }
268 .box-dl {
269 background: url("/images/download.png") no-repeat 12px center;
270 padding: 16px 16px 16px 72px;
271 }
272 .box-up {
273 background: url("/images/update.png") no-repeat 12px center;
274 padding: 16px 16px 16px 62px;
275 }
276 .box-dl a { font-weight: bold; text-decoration: none; }
277 .dlbutton { padding-left: 38px; }
278 pre, .box, .box-dl, .box-up, .box-share, .box-rpi {
279 background-color: #efefef;
280 border: 1px solid #ddd;
281 }
283 .searchbox {
284 margin: 20px 80px;
285 padding: 12px;
286 background: #f8f8f8;
287 text-align: center;
288 border: 1px solid #ddd;
289 }
291 /* Activity Box */
293 .activity {
294 margin: 0 0 20px;
295 background: #efefef;
296 padding: 5px 2px 0;
297 border: 1px solid #ddd;
298 }
299 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
300 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
301 .activity a { text-decoration: none; }
302 .activity ul { margin: 4px 0; padding: 0 4px; line-height: 150%; }
303 .activity li { list-style-type: none; }
304 .activity_more { text-align: right; }
305 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
306 .activity_more a:hover { text-decoration: underline; }
308 .activity span, .news span {
309 color: #666;
310 font-size: 11px;
311 font-weight: normal;
312 }
314 /* Button */
316 #block_info .button a {
317 background-color: #666;
318 color: #ffffff;
319 margin: 0px 4px;
320 padding: 6px 10px;
321 font-size: 12px;
322 text-decoration: none;
323 font-weight: bold;
324 }
325 #block_info .button a:hover, input[type=submit]:hover {
326 background-color: #444;
327 color: #ffffff;
328 }
330 /* Round corner */
332 #block_nav, pre, .box, .box-dl, .box-up, .searchbox, .button a,
333 #twitter, .activity, .activity div, #sponsor, nav a, .dlbutton {
334 -moz-border-radius: 4px;
335 -webkit-border-radius: 4px;
336 border-radius: 4px;
337 }
339 /* Form */
341 input[type=submit] {
342 border: 1px solid #666;
343 background-color: #666;
344 color: white;
345 font-weight: bold;
346 cursor: pointer;
347 padding: 4px 10px;
348 font-size: 14px;
349 margin-left: -5px;
350 -webkit-border-top-right-radius: 4px;
351 -webkit-border-bottom-right-radius: 4px;
352 -moz-border-radius-topright: 4px;
353 -moz-border-radius-bottomright: 4px;
354 border-top-right-radius: 4px;
355 border-bottom-right-radius: 4px;
356 }
358 input[type=submit]:hover { background-color: #444; }
360 input[type=text] {
361 border: 1px solid #333333;
362 padding: 4px;
363 height: 17px;
364 width: 100%;
365 -webkit-border-top-left-radius: 4px;
366 -webkit-border-bottom-left-radius: 4px;
367 -moz-border-radius-topleft: 4px;
368 -moz-border-radius-bottomleft: 4px;
369 border-top-left-radius: 4px;
370 border-bottom-left-radius: 4px;
371 }
373 /* Footer */
375 #footer {
376 background: #f1f1f1;
377 text-align: center;
378 border-top: 1px solid #ddd;
379 padding: 40px;
380 color: #666;
381 clear: both;
382 margin-bottom: -2%;
383 }
385 #footer a { color: #666; padding: 0 2px; }
387 .year:after {
388 /* content: "2007-2015"; */
389 content: "2015";
390 }
392 p, li {
393 -moz-hyphens: auto;
394 -webkit-hyphens: auto;
395 hyphens: auto;
396 }
398 /* --- SEARCH --- */
400 input.gsc-search-button {
401 border: 1px solid #b64b22;
402 background-color: #b64b22;
403 color: white;
404 font-weight: bold;
405 cursor: pointer;
406 padding: 2px 10px;
407 font-size: 14px;
408 margin-left: -4px;
409 -webkit-border-top-right-radius: 4px;
410 -webkit-border-bottom-right-radius: 4px;
411 -moz-border-radius-topright: 4px;
412 -moz-border-radius-bottomright: 4px;
413 border-top-right-radius: 4px;
414 border-bottom-right-radius: 4px;
415 }
417 .gs-webResult.gs-result a.gs-title:link,
418 .gs-webResult.gs-result a.gs-title:link b {
419 color: #103a5e;
420 }
422 #cse {
423 margin-bottom: 120px;
424 width:100%;
425 }
428 /* --- GALLERY --- */
430 #gallery div {
431 width: 496px;
432 border: none;
433 border-radius: 12px;
434 padding-bottom: 8px;
435 margin: 12px auto;
436 webkit-box-shadow: 0 0 6px rgba(0,0,0,0.5);
437 -moz-box-shadow: 0 0 6px rgba(0,0,0,0.5);
438 box-shadow: 0 0 6px rgba(0,0,0,0.5);
439 }
440 #gallery img {
441 width: 480px;
442 margin: 8px;
443 }