slitaz-forge view people/slitaz.css @ rev 711

Update pangolin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 01 18:26:56 2020 +0100 (2020-01-01)
parents 9fbc0891f919
children
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 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 font-size: 120%;
162 min-height: 100px;
163 background: #ddd;
164 padding: 56px 6% 0;
165 text-align: center;
166 color: #222;
167 border-bottom: 1px solid #afafaf;
168 top: 40px;
169 }
171 nav ul {
172 margin: 0; padding: 0;
173 list-style: none;
174 }
175 nav li { display: inline; }
177 nav a, .dlbutton {
178 text-decoration: none;
179 padding: 12px;
180 color: #fff;
181 font-weight: bold;
182 vertical-align: middle;
183 -webkit-transition: background-color 0.6s;
184 transition: background-color 0.5s;
185 }
186 nav p { padding: 8px; color: #333; font-size: 92%; }
188 .nav1 { background-color: #333; }
189 .nav1:hover { background-color: #128da9; }
190 .nav2 { background-color: #ab3c00; }
191 .nav2:hover { background-color: #ff9b00; }
192 .navpi { background-color: #444; }
193 .navpi:hover { background-color: #bc1142; }
195 /* Languages */
197 #lang {
198 padding: 8px;
199 font-size: 12px;
200 position: absolute;
201 right: 0px;
202 color: #666;
203 }
204 #lang .flag { font-size: 14px; }
205 #lang .flag:hover { text-decoration: none; }
207 #lang a, #lang strong, #lang span {
208 text-decoration: none;
209 padding: 0 2px;
210 }
212 #lang a:hover {
213 text-decoration: underline;
214 }
216 .box #lang { text-align: center; position: relative;
217 font-size: 13px; } /* for /i18n page */
219 /* Content */
221 #content {
222 padding: 30px 80px;
223 text-align: justify;
224 }
225 #content li { line-height: 1.6em; }
227 .news li {
228 border-bottom: 1px dotted #BEBEBE;
229 margin-left: -25px;
230 padding: 4px 0px 4px 0px;
231 }
233 .news a, .feed-grid a { text-decoration: none; }
234 .news p a { text-decoration: underline; }
235 .news p a:hover { text-decoration: none; }
236 #twitter { margin: 20px 0; text-align: center; }
237 #gallery { text-align: center; }
239 #sponsor {
240 font-size: 90%;
241 background-color: #fbfbfb;
242 border: 2px solid #ddd;
243 width: 200px;
244 height: 140px;
245 float: right;
246 text-align: center;
247 margin: 20px 0px 20px 20px;
248 }
250 /* Classes */
252 .mobile { display: none !important; }
254 .right_box { width: 48%; float: right; }
255 .left_box { width: 48%; float: left; }
257 .box {
258 margin: 20px 60px;
259 padding: 12px;
260 background: #efefef;
261 border: 1px solid #ddd;
262 }
264 .box-dl, .box-up {
265 margin: 20px 0;
266 min-height: 48px;
267 border: 1px solid #ddd;
268 vertical-align: middle;
269 }
270 .box-dl {
271 background: url("/images/download.png") no-repeat 12px center;
272 padding: 16px 16px 16px 72px;
273 }
274 .box-up {
275 background: url("/images/update.png") no-repeat 12px center;
276 padding: 16px 16px 16px 62px;
277 }
278 .box-dl a { font-weight: bold; text-decoration: none; }
279 .dlbutton { padding-left: 38px; }
280 pre, .box, .box-dl, .box-up, .box-share, .box-rpi {
281 background-color: #efefef;
282 border: 1px solid #ddd;
283 }
285 .searchbox {
286 margin: 20px 80px;
287 padding: 12px;
288 background: #f8f8f8;
289 text-align: center;
290 border: 1px solid #ddd;
291 }
293 /* Activity Box */
295 .activity {
296 margin: 0 0 20px;
297 background: #efefef;
298 padding: 5px 2px 0;
299 border: 1px solid #ddd;
300 }
301 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
302 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
303 .activity a { text-decoration: none; }
304 .activity ul { margin: 4px 0; padding: 0 4px; line-height: 150%; }
305 .activity li { list-style-type: none; }
306 .activity_more { text-align: right; }
307 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
308 .activity_more a:hover { text-decoration: underline; }
310 .activity span, .news span {
311 color: #666;
312 font-size: 11px;
313 font-weight: normal;
314 }
316 /* Button */
318 #block_info .button a {
319 background-color: #666;
320 color: #ffffff;
321 margin: 0px 4px;
322 padding: 6px 10px;
323 font-size: 12px;
324 text-decoration: none;
325 font-weight: bold;
326 }
327 #block_info .button a:hover, input[type=submit]:hover {
328 background-color: #444;
329 color: #ffffff;
330 }
332 /* Round corner */
334 #block_nav, pre, .box, .box-dl, .box-up, .searchbox, .button a,
335 #twitter, .activity, .activity div, #sponsor, nav a, .dlbutton {
336 -moz-border-radius: 4px;
337 -webkit-border-radius: 4px;
338 border-radius: 4px;
339 }
341 /* Form */
343 input[type=submit] {
344 border: 1px solid #666;
345 background-color: #666;
346 color: white;
347 font-weight: bold;
348 cursor: pointer;
349 padding: 4px 10px;
350 font-size: 14px;
351 margin-left: -5px;
352 -webkit-border-top-right-radius: 4px;
353 -webkit-border-bottom-right-radius: 4px;
354 -moz-border-radius-topright: 4px;
355 -moz-border-radius-bottomright: 4px;
356 border-top-right-radius: 4px;
357 border-bottom-right-radius: 4px;
358 }
360 input[type=submit]:hover { background-color: #444; }
362 input[type=text] {
363 border: 1px solid #333333;
364 padding: 4px;
365 height: 17px;
366 width: 100%;
367 -webkit-border-top-left-radius: 4px;
368 -webkit-border-bottom-left-radius: 4px;
369 -moz-border-radius-topleft: 4px;
370 -moz-border-radius-bottomleft: 4px;
371 border-top-left-radius: 4px;
372 border-bottom-left-radius: 4px;
373 }
375 /* Footer */
377 #footer {
378 background: #f1f1f1;
379 text-align: center;
380 border-top: 1px solid #ddd;
381 padding: 40px;
382 color: #666;
383 clear: both;
384 margin-bottom: -2%;
385 }
387 #footer a { color: #666; padding: 0 2px; }
389 .year:after {
390 /* content: "2007-2015"; */
391 content: "2020";
392 }
394 p, li {
395 -moz-hyphens: auto;
396 -webkit-hyphens: auto;
397 hyphens: auto;
398 }
400 /* --- SEARCH --- */
402 input.gsc-search-button {
403 border: 1px solid #b64b22;
404 background-color: #b64b22;
405 color: white;
406 font-weight: bold;
407 cursor: pointer;
408 padding: 2px 10px;
409 font-size: 14px;
410 margin-left: -4px;
411 -webkit-border-top-right-radius: 4px;
412 -webkit-border-bottom-right-radius: 4px;
413 -moz-border-radius-topright: 4px;
414 -moz-border-radius-bottomright: 4px;
415 border-top-right-radius: 4px;
416 border-bottom-right-radius: 4px;
417 }
419 .gs-webResult.gs-result a.gs-title:link,
420 .gs-webResult.gs-result a.gs-title:link b {
421 color: #103a5e;
422 }
424 #cse {
425 margin-bottom: 120px;
426 width:100%;
427 }
430 /* --- GALLERY --- */
432 #gallery div {
433 width: 496px;
434 border: none;
435 border-radius: 12px;
436 padding-bottom: 8px;
437 margin: 12px auto;
438 -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.5);
439 -moz-box-shadow: 0 0 6px rgba(0,0,0,0.5);
440 box-shadow: 0 0 6px rgba(0,0,0,0.5);
441 }
442 #gallery img {
443 width: 480px;
444 margin: 8px;
445 }