website view slitaz.css @ rev 1299

Add Blog to top menu - fix rss feeds and dl in website/cache
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 25 00:32:07 2017 +0100 (2017-03-25)
parents f89b3d0e4b11
children 3f9491492ae2
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: 100% 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; }
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 display: inline-block;
144 margin: 0.5ex;
145 background: #333 url("/images/download-30.png") no-repeat 4px center;
146 padding-left: 38px;
147 -webkit-transition: background-color 0.6s;
148 transition: background-color 0.5s;
149 }
150 .dldiv { margin: 30px 0; text-align: center; }
152 /*
153 *
154 *
155 * Navigation NG
156 *
157 *
158 * */
160 nav {
161 min-height: 100px;
162 background: #ddd;
163 padding: 56px 6% 0;
164 text-align: center;
165 color: #222;
166 border-bottom: 1px solid #afafaf;
167 top: 40px;
168 }
170 nav ul {
171 margin: 0; padding: 0;
172 list-style: none;
173 }
174 nav li { display: inline; }
176 nav a, .dlbutton {
177 text-decoration: none;
178 padding: 12px;
179 color: #fff;
180 font-weight: bold;
181 vertical-align: middle;
182 -webkit-transition: background-color 0.6s;
183 transition: background-color 0.5s;
184 }
185 nav p { padding: 8px; color: #333; font-size: 90%; }
187 .nav1 { background-color: #333; }
188 .nav1:hover { background-color: #128da9; }
189 .nav2 { background-color: #ab3c00; }
190 .nav2:hover { background-color: #ff9b00; }
191 .navpi { background-color: #444; }
192 .navpi:hover { background-color: #bc1142; }
194 /* Languages */
196 #lang {
197 padding: 8px;
198 font-size: 12px;
199 position: absolute;
200 right: 0px;
201 color: #666;
202 }
203 #lang .flag { font-size: 14px; }
204 #lang .flag:hover { text-decoration: none; }
206 #lang a, #lang strong, #lang span {
207 text-decoration: none;
208 padding: 0 2px;
209 }
211 #lang a:hover {
212 text-decoration: underline;
213 }
215 .box #lang { text-align: center; position: relative;
216 font-size: 13px; } /* for /i18n page */
218 /* Content */
220 #content {
221 padding: 30px 80px;
222 text-align: justify;
223 }
224 #content li { line-height: 1.6em; }
226 .news li {
227 border-bottom: 1px dotted #BEBEBE;
228 margin-left: -25px;
229 padding: 4px 0px 4px 0px;
230 }
232 .news a, .feed-grid a { text-decoration: none; }
233 .news p a { text-decoration: underline; }
234 .news p a:hover { text-decoration: none; }
235 #twitter { margin: 20px 0; text-align: center; }
236 #gallery { text-align: center; }
238 #sponsor {
239 font-size: 90%;
240 background-color: #fbfbfb;
241 border: 2px solid #ddd;
242 width: 200px;
243 height: 140px;
244 float: right;
245 text-align: center;
246 margin: 20px 0px 20px 20px;
247 }
249 /* Classes */
251 .mobile { display: none !important; }
253 .right_box { width: 48%; float: right; }
254 .left_box { width: 48%; float: left; }
256 .box {
257 margin: 20px 60px;
258 padding: 12px;
259 background: #efefef;
260 border: 1px solid #ddd;
261 }
263 .box-dl, .box-up {
264 margin: 20px 0;
265 min-height: 48px;
266 border: 1px solid #ddd;
267 vertical-align: middle;
268 }
269 .box-dl {
270 background: url("/images/download.png") no-repeat 12px center;
271 padding: 16px 16px 16px 72px;
272 }
273 .box-up {
274 background: url("/images/update.png") no-repeat 12px center;
275 padding: 16px 16px 16px 62px;
276 }
277 .box-dl a { font-weight: bold; text-decoration: none; }
278 .dlbutton { padding-left: 38px; }
279 pre, .box, .box-dl, .box-up, .box-share, .box-rpi {
280 background-color: #efefef;
281 border: 1px solid #ddd;
282 }
284 .searchbox {
285 margin: 20px 80px;
286 padding: 12px;
287 background: #f8f8f8;
288 text-align: center;
289 border: 1px solid #ddd;
290 }
292 /* Activity Box */
294 .activity {
295 margin: 0 0 20px;
296 background: #efefef;
297 padding: 5px 2px 0;
298 border: 1px solid #ddd;
299 }
300 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
301 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
302 .activity a { text-decoration: none; }
303 .activity ul { margin: 4px 0; padding: 0 4px; line-height: 150%; }
304 .activity li { list-style-type: none; }
305 .activity_more { text-align: right; }
306 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
307 .activity_more a:hover { text-decoration: underline; }
309 .activity span, .news span {
310 color: #666;
311 font-size: 11px;
312 font-weight: normal;
313 }
315 /* Button */
317 #block_info .button a {
318 background-color: #666;
319 color: #ffffff;
320 margin: 0px 4px;
321 padding: 6px 10px;
322 font-size: 12px;
323 text-decoration: none;
324 font-weight: bold;
325 }
326 #block_info .button a:hover, input[type=submit]:hover {
327 background-color: #444;
328 color: #ffffff;
329 }
331 /* Round corner */
333 #block_nav, pre, .box, .box-dl, .box-up, .searchbox, .button a,
334 #twitter, .activity, .activity div, #sponsor, nav a, .dlbutton {
335 -moz-border-radius: 4px;
336 -webkit-border-radius: 4px;
337 border-radius: 4px;
338 }
340 /* Form */
342 input[type=submit] {
343 border: 1px solid #666;
344 background-color: #666;
345 color: white;
346 font-weight: bold;
347 cursor: pointer;
348 padding: 4px 10px;
349 font-size: 14px;
350 margin-left: -5px;
351 -webkit-border-top-right-radius: 4px;
352 -webkit-border-bottom-right-radius: 4px;
353 -moz-border-radius-topright: 4px;
354 -moz-border-radius-bottomright: 4px;
355 border-top-right-radius: 4px;
356 border-bottom-right-radius: 4px;
357 }
359 input[type=submit]:hover { background-color: #444; }
361 input[type=text] {
362 border: 1px solid #333333;
363 padding: 4px;
364 height: 17px;
365 width: 100%;
366 -webkit-border-top-left-radius: 4px;
367 -webkit-border-bottom-left-radius: 4px;
368 -moz-border-radius-topleft: 4px;
369 -moz-border-radius-bottomleft: 4px;
370 border-top-left-radius: 4px;
371 border-bottom-left-radius: 4px;
372 }
374 /* Footer */
376 #footer {
377 background: #f1f1f1;
378 text-align: center;
379 border-top: 1px solid #ddd;
380 padding: 40px;
381 color: #666;
382 clear: both;
383 margin-bottom: -2%;
384 }
386 #footer a { color: #666; padding: 0 2px; }
388 .year:after {
389 /* content: "2007-2015"; */
390 content: "2015";
391 }
393 p, li {
394 -moz-hyphens: auto;
395 -webkit-hyphens: auto;
396 hyphens: auto;
397 }
399 /* --- SEARCH --- */
401 input.gsc-search-button {
402 border: 1px solid #b64b22;
403 background-color: #b64b22;
404 color: white;
405 font-weight: bold;
406 cursor: pointer;
407 padding: 2px 10px;
408 font-size: 14px;
409 margin-left: -4px;
410 -webkit-border-top-right-radius: 4px;
411 -webkit-border-bottom-right-radius: 4px;
412 -moz-border-radius-topright: 4px;
413 -moz-border-radius-bottomright: 4px;
414 border-top-right-radius: 4px;
415 border-bottom-right-radius: 4px;
416 }
418 .gs-webResult.gs-result a.gs-title:link,
419 .gs-webResult.gs-result a.gs-title:link b {
420 color: #103a5e;
421 }
423 #cse {
424 margin-bottom: 120px;
425 width:100%;
426 }
429 /* --- GALLERY --- */
431 #gallery div {
432 width: 496px;
433 border: none;
434 border-radius: 12px;
435 padding-bottom: 8px;
436 margin: 12px auto;
437 -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.5);
438 -moz-box-shadow: 0 0 6px rgba(0,0,0,0.5);
439 box-shadow: 0 0 6px rgba(0,0,0,0.5);
440 }
441 #gallery img {
442 width: 480px;
443 margin: 8px;
444 }