slitaz-forge view tank/web/slitaz.css @ rev 592
arm/rpi: add Raspbian dual boot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 19 16:13:06 2015 +0100 (2015-02-19) |
parents | 8ae65a4e430a |
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; color: blue; }
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 pre {
25 background-color: #f8f8f8;
26 border: 1px solid #ddd;
27 padding: 10px;
28 }
30 /* Header */
32 #header {
33 height: 40px;
34 background: #222;
35 }
37 #header h1 {
38 margin: 0;
39 padding: 8px 0 0 42px;
40 width: 250px;
41 }
43 #header h1 a {
44 color: white;
45 text-decoration: none;
46 font-size: 20px;
47 font-style: italic;
48 }
50 #header h1 a:hover, #network a:hover, #network span {
51 color: #afafaf;
52 }
54 /* Logo */
56 #logo {
57 background: url(images/logo.png) no-repeat left;
58 position: absolute;
59 float: left;
60 left: 0px;
61 top: 0px;
62 width: 40px;
63 height: 40px;
64 }
66 /* SliTaz Network */
68 #network {
69 float: right;
70 padding: 14px 5px 0;
71 font-size: 12px;
72 }
74 #network a, #network span { padding: 0 4px; }
75 #network span { font-weight: bold; }
77 /* Block */
79 #block {
80 min-height: 180px;
81 background: #ccc;
82 padding: 20px 10% 0px;
83 text-align: center;
84 color: #222;
85 border-bottom: 1px solid #afafaf;
86 }
88 #block_info {
89 text-align: justify;
90 width: 48%;
91 padding: 10px 10px 0 0;
92 }
94 #block a, #network a {
95 color: #fff;
96 font-weight: bold;
97 text-decoration: none;
98 }
100 #block h4 {
101 color: #222;
102 margin: 0px;
103 font-weight: bold;
104 font-size: 110%;
105 }
107 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
108 #block_info a { font-weight: normal; color: #215090; }
109 #block_info a:hover { text-decoration: underline; }
110 #block ul { list-style-type: square; }
111 #block_nav a:hover { color: #afafaf; }
113 /* Navigation */
115 #block_nav {
116 background: #666;
117 padding: 10px 10px 20px;
118 text-align: justify;
119 width: 48%;
120 float: right;
121 }
123 #block_nav ul {
124 list-style-type: none;
125 margin: 6px 0;
126 padding: 0;
127 }
129 #block_nav h4 img {
130 margin: 0 4px 0 0;
131 padding: 0;
132 }
134 /* Languages */
136 #lang {
137 padding: 6px;
138 font-size: 11px;
139 position: absolute;
140 right: 0px;
141 }
143 #lang a {
144 text-decoration: none;
145 padding: 0 2px;
146 }
148 #lang a:hover {
149 text-decoration: underline;
150 }
152 .box #lang { text-align: center; position: relative;
153 font-size: 13px; } /* for /i18n page */
155 /* Content */
157 #content {
158 padding: 30px 80px;
159 text-align: justify;
160 }
162 .news li {
163 list-style-type: square;
164 border-bottom: 1px dotted #BEBEBE;
165 margin-left: -25px;
166 padding: 4px 0px 4px 0px;
167 }
169 .news a, .feed-grid a { text-decoration: none; }
170 .news p a { text-decoration: underline; }
171 .news p a:hover { text-decoration: none; }
172 #twitter { margin: 20px 0; text-align: center; }
173 #gallery { text-align: center; }
175 #sponsor {
176 font-size: 90%;
177 background-color: #fbfbfb;
178 border: 2px solid #ddd;
179 width: 200px;
180 height: 160px;
181 float: right;
182 text-align: center;
183 margin: 10px 0px 20px 20px;
184 }
186 /* Classes */
188 .right_box { width: 48%; float: right; }
189 .left_box { width: 48%; float: left; }
191 .box {
192 margin: 20px 60px;
193 padding: 12px;
194 background: #efefef;
195 border: 1px solid #ddd;
196 }
198 .box-dl, .box-up {
199 margin: 20px 60px;
200 padding: 12px 12px 12px 66px;
201 min-height: 48px;
202 border: 1px solid #ddd;
203 vertical-align: middle;
204 }
205 .box-dl {
206 background: url("/images/download.png") no-repeat 12px 12px #efefef;
207 }
208 .box-up {
209 background: url("/images/update.png") no-repeat center left #efefef;
210 }
211 .box-dl p { color: #456; }
213 .searchbox {
214 margin: 20px 80px;
215 padding: 12px;
216 background: #f8f8f8;
217 text-align: center;
218 border: 1px solid #ddd;
219 }
221 /* Activity Box */
223 .activity {
224 margin: 0 0 20px;
225 background: #efefef;
226 padding: 5px 2px 0;
227 border: 1px solid #ddd;
228 }
229 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
230 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
231 .activity a { text-decoration: none; }
232 .activity ul { list-style-type: none;
233 margin: 4px 0; padding: 0 4px; line-height: 150%; }
234 .activity_more { text-align: right; }
235 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
236 .activity_more a:hover { text-decoration: underline; }
238 .activity span, .news span {
239 color: #666;
240 font-size: 11px;
241 font-weight: normal;
242 }
244 /* Button */
246 #block_info .button a {
247 background-color: #666;
248 color: #ffffff;
249 margin: 0px 4px;
250 padding: 6px 10px;
251 font-size: 12px;
252 text-decoration: none;
253 font-weight: bold;
254 }
255 #block_info .button a:hover, input[type=submit]:hover {
256 background-color: #444;
257 color: #ffffff;
258 }
260 /* Round corner */
262 #block_nav, pre, .box, .box-dl, .box-up, .searchbox, .button a, #twitter, .activity,
263 .activity div, #sponsor {
264 -moz-border-radius: 4px;
265 -webkit-border-radius: 4px;
266 border-radius: 4px;
267 }
269 /* Form */
271 input[type=submit] {
272 border: 1px solid #666;
273 background-color: #666;
274 color: white;
275 font-weight: bold;
276 cursor: pointer;
277 padding: 4px 10px;
278 font-size: 14px;
279 margin-left: -5px;
280 -webkit-border-top-right-radius: 4px;
281 -webkit-border-bottom-right-radius: 4px;
282 -moz-border-radius-topright: 4px;
283 -moz-border-radius-bottomright: 4px;
284 border-top-right-radius: 4px;
285 border-bottom-right-radius: 4px;
286 }
288 input[type=submit]:hover { background-color: #444; }
290 input[type=text] {
291 border: 1px solid #333333;
292 padding: 4px;
293 height: 17px;
294 width: 100%;
295 -webkit-border-top-left-radius: 4px;
296 -webkit-border-bottom-left-radius: 4px;
297 -moz-border-radius-topleft: 4px;
298 -moz-border-radius-bottomleft: 4px;
299 border-top-left-radius: 4px;
300 border-bottom-left-radius: 4px;
301 }
303 /* Footer */
305 #footer {
306 background: #f1f1f1;
307 text-align: center;
308 border-top: 1px solid #ddd;
309 padding: 40px;
310 color: #666;
311 clear: both;
312 margin-bottom: -2%;
313 }
315 #footer a { color: #666; padding: 0 2px; }
317 .year:after {
318 /* content: "2007-2015"; */
319 content: "2015";
320 }
322 p, li {
323 -moz-hyphens: auto;
324 -webkit-hyphens: auto;
325 hyphens: auto;
326 }
329 /* --- SEARCH --- */
331 input.gsc-search-button {
332 border: 1px solid #b64b22;
333 background-color: #b64b22;
334 color: white;
335 font-weight: bold;
336 cursor: pointer;
337 padding: 2px 10px;
338 font-size: 14px;
339 margin-left: -4px;
340 -webkit-border-top-right-radius: 4px;
341 -webkit-border-bottom-right-radius: 4px;
342 -moz-border-radius-topright: 4px;
343 -moz-border-radius-bottomright: 4px;
344 border-top-right-radius: 4px;
345 border-bottom-right-radius: 4px;
346 }
348 .gs-webResult.gs-result a.gs-title:link,
349 .gs-webResult.gs-result a.gs-title:link b {
350 color: #103a5e;
351 }
353 #cse {
354 margin-bottom: 120px;
355 width:100%;
356 }
359 /* --- GALLERY --- */
361 #gallery div {
362 width: 496px;
363 border: none;
364 border-radius: 12px;
365 padding-bottom: 8px;
366 margin: 12px auto;
367 webkit-box-shadow: 0 0 6px rgba(0,0,0,0.5);
368 -moz-box-shadow: 0 0 6px rgba(0,0,0,0.5);
369 box-shadow: 0 0 6px rgba(0,0,0,0.5);
370 }
371 #gallery img {
372 width: 480px;
373 margin: 8px;
374 }