rev |
line source |
pankso@1
|
1 /*
|
pascal@875
|
2 CSS style for SliTaz Network - (C) 2012 SliTaz GNU/Linux
|
pankso@1
|
3 */
|
pankso@1
|
4
|
pankso@555
|
5 html {
|
pankso@710
|
6 min-height: 102%;
|
pankso@555
|
7 }
|
pankso@768
|
8
|
pankso@1
|
9 body {
|
pankso@555
|
10 background: #ffffff;
|
pankso@1
|
11 color: black;
|
pankso@1
|
12 font: 13px sans-serif, vernada, arial;
|
pankso@1
|
13 margin: 0;
|
pankso@818
|
14 min-width: 780px;
|
pankso@815
|
15 height: 100%;
|
pankso@1
|
16 }
|
pankso@768
|
17
|
pankso@768
|
18 a { text-decoration: underline; color: #215090; }
|
pankso@741
|
19 a:hover { text-decoration: none; color: blue; }
|
pankso@768
|
20 img { border: 0pt none; vertical-align: middle; }
|
pankso@768
|
21 h2 { color: #444; }
|
pankso@768
|
22 h3 { color: #666; font-size: 140%; }
|
pankso@768
|
23 h4 { color: #888; font-size: 120%; }
|
pankso@768
|
24 pre {
|
pankso@768
|
25 background-color: #f8f8f8;
|
pankso@768
|
26 border: 1px solid #ddd;
|
pankso@768
|
27 padding: 10px;
|
pankso@1
|
28 }
|
pankso@1
|
29
|
pankso@741
|
30 /* Header */
|
pankso@1
|
31
|
pankso@768
|
32 #header {
|
pankso@768
|
33 height: 40px;
|
pankso@768
|
34 background: #351a0a;
|
pankso@1
|
35 }
|
pankso@768
|
36
|
pankso@768
|
37 #header h1 {
|
pankso@768
|
38 margin: 0;
|
pankso@768
|
39 padding: 8px 0 0 42px;
|
pankso@768
|
40 width: 250px;
|
pankso@1
|
41 }
|
pankso@768
|
42
|
pankso@768
|
43 #header h1 a {
|
pankso@768
|
44 color: white;
|
pankso@768
|
45 text-decoration: none;
|
pankso@768
|
46 font-size: 20px;
|
pankso@768
|
47 font-style: italic;
|
pankso@768
|
48 }
|
pankso@768
|
49
|
pankso@1044
|
50 #header h1 a:hover {
|
pankso@768
|
51 color: #d66018;
|
pankso@768
|
52 }
|
pankso@768
|
53
|
pankso@768
|
54 /* Logo */
|
pankso@768
|
55
|
pankso@1
|
56 #logo {
|
pankso@768
|
57 background: url(images/logo.png) no-repeat left;
|
pankso@1
|
58 position: absolute;
|
pankso@1
|
59 float: left;
|
pankso@768
|
60 left: 0px;
|
pankso@768
|
61 top: 0px;
|
pankso@768
|
62 width: 40px;
|
pankso@768
|
63 height: 40px;
|
pankso@1
|
64 }
|
pankso@1
|
65
|
pankso@768
|
66 /* SliTaz Network */
|
pankso@1
|
67
|
pankso@768
|
68 #network {
|
pankso@768
|
69 float: right;
|
pankso@768
|
70 padding: 10px 5px 0;
|
pankso@555
|
71 font-size: 12px;
|
pankso@1
|
72 }
|
pankso@768
|
73
|
pankso@1044
|
74 #network a { padding: 0 4px; }
|
pankso@1044
|
75 #network a:hover { color: #cfcfcf; }
|
pankso@768
|
76
|
pankso@768
|
77 /* Block */
|
pankso@768
|
78
|
pankso@768
|
79 #block {
|
pankso@768
|
80 min-height: 200px;
|
pankso@768
|
81 background: #d66018;
|
pankso@768
|
82 padding: 26px 10% 0px;
|
pankso@768
|
83 text-align: center;
|
pankso@1044
|
84 color: #222;
|
pankso@768
|
85 border-bottom: 1px solid #f5f5f5;
|
pankso@768
|
86 }
|
pankso@768
|
87
|
pankso@768
|
88 #block_info {
|
pankso@768
|
89 text-align: justify;
|
pankso@768
|
90 width: 48%;
|
pankso@768
|
91 padding: 10px 10px 0 0;
|
pankso@768
|
92 }
|
pankso@768
|
93
|
pankso@768
|
94 #block a, #network a {
|
pankso@768
|
95 color: #fff;
|
pankso@555
|
96 font-weight: bold;
|
pankso@768
|
97 text-decoration: none;
|
pankso@555
|
98 }
|
pankso@768
|
99
|
pankso@768
|
100 #block h4 {
|
pankso@768
|
101 color: #351a0a;
|
pankso@768
|
102 margin: 0px;
|
pankso@768
|
103 font-weight: bold;
|
pankso@768
|
104 font-size: 110%;
|
pankso@768
|
105 }
|
pankso@768
|
106
|
pankso@768
|
107 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
|
pankso@768
|
108 #block_info a { font-weight: normal; }
|
pankso@768
|
109 #block ul { list-style-type: square; }
|
pankso@768
|
110 #block a:hover { color: #351a0a; }
|
pankso@768
|
111
|
pankso@768
|
112 /* Navigation */
|
pankso@768
|
113
|
pankso@768
|
114 #block_nav {
|
pankso@768
|
115 background: #cc5b17;
|
pankso@768
|
116 padding: 10px 10px 40px;
|
pankso@768
|
117 text-align: justify;
|
pankso@768
|
118 width: 48%;
|
pankso@768
|
119 float: right;
|
pankso@768
|
120 }
|
pankso@768
|
121
|
pankso@768
|
122 #block_nav ul {
|
pankso@768
|
123 list-style-type: none;
|
pankso@768
|
124 margin: 6px 0;
|
pankso@768
|
125 padding: 0;
|
pankso@768
|
126 }
|
pankso@768
|
127
|
pankso@784
|
128 #block_nav h4 img {
|
pankso@784
|
129 margin: 0 4px 0 0;
|
pankso@784
|
130 padding: 0;
|
pankso@784
|
131 }
|
pankso@784
|
132
|
pankso@768
|
133 /* Languages */
|
pankso@768
|
134
|
pankso@768
|
135 #lang {
|
pankso@768
|
136 padding: 6px;
|
pankso@768
|
137 font-size: 11px;
|
pankso@1044
|
138 position: absolute;
|
pankso@1044
|
139 right: 0px;
|
pankso@768
|
140 }
|
pankso@768
|
141
|
pankso@768
|
142 #lang a {
|
pankso@1
|
143 text-decoration: none;
|
pankso@768
|
144 padding: 0 2px;
|
pankso@1
|
145 }
|
pankso@768
|
146
|
pankso@768
|
147 #lang a:hover {
|
pankso@768
|
148 text-decoration: underline;
|
pankso@1
|
149 }
|
pankso@768
|
150
|
pankso@1044
|
151 .box #lang { text-align: center; position: relative;
|
pankso@1044
|
152 font-size: 13px; } /* for /i18n page */
|
al@1033
|
153
|
pankso@768
|
154 /* Content */
|
pankso@768
|
155
|
pankso@768
|
156 #content {
|
pankso@768
|
157 padding: 30px 80px;
|
pankso@555
|
158 text-align: justify;
|
pankso@741
|
159 }
|
pankso@741
|
160
|
pankso@809
|
161 .news li {
|
pankso@741
|
162 list-style-type: square;
|
pankso@741
|
163 border-bottom: 1px dotted #BEBEBE;
|
pankso@741
|
164 margin-left: -25px;
|
pankso@741
|
165 padding: 4px 0px 4px 0px;
|
pankso@741
|
166 }
|
pankso@741
|
167
|
pankso@809
|
168 .news a, .feed-grid a { text-decoration: none; }
|
pankso@809
|
169 .news p a { text-decoration: underline; }
|
pankso@809
|
170 .news p a:hover { text-decoration: none; }
|
pankso@768
|
171 #twitter { margin: 20px 0; }
|
pankso@768
|
172 #gallery { text-align: center; }
|
pankso@741
|
173
|
pankso@945
|
174 #sponsor {
|
pankso@945
|
175 font-size: 90%;
|
pankso@975
|
176 background-color: #fbfbfb;
|
pankso@975
|
177 border: 2px solid #ddd;
|
pankso@945
|
178 width: 200px;
|
pankso@975
|
179 height: 160px;
|
pankso@945
|
180 float: right;
|
pankso@945
|
181 text-align: center;
|
pankso@975
|
182 margin: 10px 0px 20px 20px;
|
pankso@945
|
183 }
|
pankso@945
|
184
|
pankso@768
|
185 /* Classes */
|
pankso@768
|
186
|
pankso@768
|
187 .right_box { width: 48%; float: right; }
|
pankso@768
|
188 .left_box { width: 48%; float: left; }
|
pankso@768
|
189
|
pankso@768
|
190 .box {
|
pankso@741
|
191 margin: 20px 60px;
|
pankso@741
|
192 padding: 12px;
|
pankso@768
|
193 background: #efefef;
|
pankso@768
|
194 border: 1px solid #ddd;
|
pankso@768
|
195 }
|
pankso@768
|
196
|
al@1032
|
197 .box-dl, .box-up {
|
al@1019
|
198 margin: 20px 60px;
|
al@1019
|
199 padding: 12px 12px 12px 66px;
|
al@1019
|
200 min-height: 48px;
|
al@1019
|
201 border: 1px solid #ddd;
|
al@1019
|
202 vertical-align: middle;
|
al@1019
|
203 }
|
al@1032
|
204 .box-dl {
|
al@1032
|
205 background: url("/images/download.png") no-repeat 12px 12px #efefef;
|
al@1032
|
206 }
|
al@1032
|
207 .box-up {
|
al@1032
|
208 background: url("/images/update.png") no-repeat 12px 12px #efefef;
|
al@1032
|
209 }
|
al@1019
|
210 .box-dl p { color: #456; }
|
al@1019
|
211
|
pankso@768
|
212 .searchbox {
|
pankso@768
|
213 margin: 20px 80px;
|
pankso@768
|
214 padding: 12px;
|
pankso@741
|
215 background: #f8f8f8;
|
pankso@768
|
216 text-align: center;
|
pankso@768
|
217 border: 1px solid #ddd;
|
pankso@741
|
218 }
|
pankso@768
|
219
|
pankso@796
|
220 /* Activity Box */
|
pankso@796
|
221
|
pankso@796
|
222 .activity {
|
pankso@796
|
223 margin: 0 0 20px;
|
pankso@945
|
224 background: #efefef;
|
pankso@807
|
225 padding: 5px 2px 0;
|
pankso@796
|
226 border: 1px solid #ddd;
|
pankso@796
|
227 }
|
pankso@807
|
228 .activity div { padding: 5px 10px; background: #fff; margin-top: 5px; }
|
pankso@796
|
229 .activity p { margin: 0; padding: 5px 10px; font-weight: bold; }
|
pankso@796
|
230 .activity a { text-decoration: none; }
|
pankso@796
|
231 .activity ul { list-style-type: none;
|
pankso@796
|
232 margin: 4px 0; padding: 0 4px; line-height: 150%; }
|
pankso@796
|
233 .activity_more { text-align: right; }
|
pankso@796
|
234 .activity_more a { font-weight: normal; color: #000; padding: 0 4px; }
|
pankso@796
|
235 .activity_more a:hover { text-decoration: underline; }
|
pankso@768
|
236
|
pankso@809
|
237 .activity span, .news span {
|
pankso@809
|
238 color: #666;
|
pankso@809
|
239 font-size: 11px;
|
pankso@809
|
240 font-weight: normal;
|
pankso@809
|
241 }
|
pankso@809
|
242
|
pankso@768
|
243 /* Button */
|
pankso@768
|
244
|
pankso@768
|
245 .button a {
|
pankso@768
|
246 background-color: #b64b22;
|
pankso@768
|
247 color: #ffffff;
|
pankso@768
|
248 margin-right: 6px;
|
pankso@768
|
249 padding: 6px 10px;
|
pankso@768
|
250 font-size: 12px;
|
pankso@768
|
251 text-decoration: none;
|
pankso@768
|
252 font-weight: bold;
|
pankso@741
|
253 }
|
pankso@768
|
254 .button a:hover, input[type=submit]:hover {
|
pankso@768
|
255 background-color: #a3431f;
|
pankso@768
|
256 color: #ffffff;
|
pankso@741
|
257 }
|
pankso@768
|
258
|
pankso@768
|
259 /* Round corner */
|
pankso@768
|
260
|
al@1032
|
261 #block_nav, pre, .box, .box-dl, .box-up, .searchbox, .button a, #twitter, .activity,
|
pankso@945
|
262 .activity div, #sponsor {
|
pankso@768
|
263 -moz-border-radius: 4px;
|
pankso@768
|
264 -webkit-border-radius: 4px;
|
pankso@768
|
265 border-radius: 4px;
|
pankso@741
|
266 }
|
pankso@768
|
267
|
pankso@768
|
268 /* Form */
|
pankso@768
|
269
|
pankso@715
|
270 input[type=submit] {
|
pankso@715
|
271 border: 1px solid #b64b22;
|
pankso@715
|
272 background-color: #b64b22;
|
pankso@715
|
273 color: white;
|
pankso@715
|
274 font-weight: bold;
|
pankso@715
|
275 cursor: pointer;
|
pankso@768
|
276 padding: 4px 10px;
|
pankso@715
|
277 font-size: 14px;
|
pankso@734
|
278 margin-left: -5px;
|
pankso@768
|
279 -webkit-border-top-right-radius: 4px;
|
pankso@768
|
280 -webkit-border-bottom-right-radius: 4px;
|
pankso@768
|
281 -moz-border-radius-topright: 4px;
|
pankso@768
|
282 -moz-border-radius-bottomright: 4px;
|
pankso@768
|
283 border-top-right-radius: 4px;
|
pankso@768
|
284 border-bottom-right-radius: 4px;
|
pankso@715
|
285 }
|
pankso@768
|
286
|
pankso@768
|
287 input[type=submit]:hover { background-color: #a3431f; }
|
pankso@768
|
288
|
pankso@715
|
289 input[type=text] {
|
pankso@715
|
290 border: 1px solid #333333;
|
pankso@768
|
291 padding: 4px;
|
pankso@768
|
292 height: 17px;
|
pankso@737
|
293 width: 100%;
|
pankso@768
|
294 -webkit-border-top-left-radius: 4px;
|
pankso@768
|
295 -webkit-border-bottom-left-radius: 4px;
|
pankso@768
|
296 -moz-border-radius-topleft: 4px;
|
pankso@768
|
297 -moz-border-radius-bottomleft: 4px;
|
pankso@768
|
298 border-top-left-radius: 4px;
|
pankso@768
|
299 border-bottom-left-radius: 4px;
|
pankso@715
|
300 }
|
pankso@715
|
301
|
pankso@710
|
302 /* Footer */
|
pankso@710
|
303
|
pankso@710
|
304 #footer {
|
pankso@768
|
305 background: #f1f1f1;
|
pankso@768
|
306 text-align: center;
|
pankso@768
|
307 border-top: 1px solid #ddd;
|
pankso@768
|
308 padding: 40px;
|
pankso@768
|
309 color: #666;
|
pankso@814
|
310 clear: both;
|
pankso@814
|
311 margin-bottom: -2%;
|
pankso@710
|
312 }
|
pankso@768
|
313
|
pankso@768
|
314 #footer a { color: #666; padding: 0 2px; }
|
pankso@741
|
315
|
pankso@741
|
316 .year:after {
|
pascal@875
|
317 /* content: "2007-2012"; */
|
pascal@875
|
318 content: "2012";
|
pankso@710
|
319 }
|
al@1019
|
320
|
al@1019
|
321 p, li {
|
al@1019
|
322 -moz-hyphens: auto;
|
al@1019
|
323 -webkit-hyphens: auto;
|
al@1019
|
324 hyphens: auto;
|
al@1019
|
325 }
|
al@1019
|
326
|
al@1019
|
327
|
al@1019
|
328 /* --- SEARCH --- */
|
al@1019
|
329
|
al@1019
|
330 input.gsc-search-button {
|
al@1019
|
331 border: 1px solid #b64b22;
|
al@1019
|
332 background-color: #b64b22;
|
al@1019
|
333 color: white;
|
al@1019
|
334 font-weight: bold;
|
al@1019
|
335 cursor: pointer;
|
al@1019
|
336 padding: 2px 10px;
|
al@1019
|
337 font-size: 14px;
|
al@1019
|
338 margin-left: -4px;
|
al@1019
|
339 -webkit-border-top-right-radius: 4px;
|
al@1019
|
340 -webkit-border-bottom-right-radius: 4px;
|
al@1019
|
341 -moz-border-radius-topright: 4px;
|
al@1019
|
342 -moz-border-radius-bottomright: 4px;
|
al@1019
|
343 border-top-right-radius: 4px;
|
al@1019
|
344 border-bottom-right-radius: 4px;
|
al@1019
|
345 }
|
al@1019
|
346
|
al@1019
|
347 .gs-webResult.gs-result a.gs-title:link,
|
al@1019
|
348 .gs-webResult.gs-result a.gs-title:link b {
|
al@1019
|
349 color: #103a5e;
|
al@1019
|
350 }
|
al@1019
|
351
|
al@1023
|
352 #cse {
|
al@1023
|
353 margin-bottom: 120px;
|
al@1023
|
354 width:100%;
|
al@1023
|
355 }
|
al@1019
|
356
|
al@1019
|
357
|
al@1019
|
358 /* --- GALLERY --- */
|
al@1019
|
359
|
al@1019
|
360 #gallery div {
|
al@1019
|
361 width: 496px;
|
al@1019
|
362 border: none;
|
al@1019
|
363 border-radius: 12px;
|
al@1019
|
364 padding-bottom: 8px;
|
al@1019
|
365 margin: 12px auto;
|
al@1019
|
366 webkit-box-shadow: 0 0 6px rgba(0,0,0,0.5);
|
al@1019
|
367 -moz-box-shadow: 0 0 6px rgba(0,0,0,0.5);
|
al@1019
|
368 box-shadow: 0 0 6px rgba(0,0,0,0.5);
|
al@1019
|
369 }
|
al@1019
|
370 #gallery img {
|
al@1019
|
371 width: 480px;
|
al@1019
|
372 margin: 8px;
|
al@1019
|
373 }
|