slitaz-dev-tools view slitaz-mercurial-style/templates/static/style-slitaz.css @ rev 199

slitaz-mercurial-style: 2013
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 21 22:03:00 2013 +0200 (2013-09-21)
parents e3c9523d107f
children 4edf04502db1
line source
1 /*
2 CSS style for SliTaz Network - (C) 2013 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: 900px;
15 }
17 a { text-decoration: underline; color: #215090; }
18 a:hover { text-decoration: none; color: blue; }
19 img { border: 0pt none; vertical-align: middle; }
20 h2 { color: #444; margin-bottom: 0;}
21 h3 { color: #666; font-size: 140%; }
22 h4 { color: #888; font-size: 120%; }
23 pre {
24 background-color: #f8f8f8;
25 border: 1px solid #ddd;
26 padding: 10px;
27 }
29 /* Header */
31 #header {
32 height: 40px;
33 background: #351a0a;
34 }
36 #header h1 {
37 margin: 0;
38 padding: 2px 0 0 42px;
39 width: 250px;
40 }
42 #header h1 a {
43 color: white;
44 text-decoration: none;
45 font-size: 20px;
46 font-style: italic;
47 }
49 #header h1 a:hover {
50 color: #d66018;
51 }
53 /* Logo */
55 #logo {
56 background: url(images/logo.png) no-repeat left;
57 position: absolute;
58 float: left;
59 left: 0px;
60 top: 0px;
61 width: 40px;
62 height: 40px;
63 }
65 /* SliTaz Network */
67 #network {
68 float: right;
69 padding: 12px 5px 0;
70 font-size: 12px;
71 }
73 #network a { padding: 0 4px; }
74 #network a:hover { color: #cfcfcf; }
76 /* Block */
78 #block {
79 min-height: 150px;
80 background: #d66018;
81 padding: 26px 10% 0px;
82 text-align: center;
83 color: #222;
84 border-bottom: 1px solid #f5f5f5;
85 }
87 #block_info {
88 text-align: justify;
89 width: 48%;
90 padding: 10px 10px 0 0;
91 }
93 #block a, #network a {
94 color: #fff;
95 font-weight: bold;
96 text-decoration: none;
97 }
99 #block h4 {
100 color: #351a0a;
101 margin: 0 0 6px;
102 font-weight: bold;
103 font-size: 110%;
104 }
106 #block_info p { margin: 6px 0; padding: 0 12px 0 0; }
107 #block_info a { font-weight: normal; }
108 #block ul { list-style-type: square; }
109 #block a:hover { color: #351a0a; }
111 /* Navigation */
113 #block_nav {
114 background: #cc5b17;
115 padding: 10px 10px 15px;
116 text-align: justify;
117 width: 48%;
118 float: right;
119 }
121 #block_nav ul {
122 list-style-type: none;
123 margin: 0px 0;
124 padding: 0;
125 }
127 #block_nav h4 img {
128 margin: 0 4px 0 0;
129 padding: 0;
130 }
132 /* Languages */
134 #lang {
135 float: right;
136 padding: 6px;
137 font-size: 11px;
138 }
140 #lang a {
141 text-decoration: none;
142 padding: 0 2px;
143 }
145 #lang a:hover {
146 text-decoration: underline;
147 }
149 /* Content */
151 #content {
152 padding: 30px 80px;
153 text-align: justify;
154 }
156 #news li {
157 list-style-type: square;
158 border-bottom: 1px dotted #BEBEBE;
159 margin-left: -25px;
160 padding: 4px 0px 4px 0px;
161 }
163 #news a, .feed-grid a { text-decoration: none; }
164 #news p a { text-decoration: underline; }
165 #news p a:hover { text-decoration: none; }
166 #twitter { margin: 20px 0; }
167 #gallery { text-align: center; }
169 /* Classes */
171 .right_box { width: 48%; float: right; }
172 .left_box { width: 48%; float: left; }
174 .box {
175 margin: 20px 60px;
176 padding: 12px;
177 background: #efefef;
178 border: 1px solid #ddd;
179 }
181 .searchbox {
182 margin: 20px 80px;
183 padding: 12px;
184 background: #f8f8f8;
185 text-align: center;
186 border: 1px solid #ddd;
187 }
189 .feed-grid { height: 180px; overflow: hidden; text-align: left; }
190 .feed-grid h3 {
191 margin: 15px 0 0; font-size: 16px;
192 padding: 0 22px;
193 background: url(images/feed.png) no-repeat left; }
194 .feed-grid span { font-size: 10px; color: #888; margin-left: 24px; }
195 .feed-grid ul { color: #666; }
196 .feed-grid a { color: #666; }
197 .feed-grid a:hover { color: blue; }
199 /* Button */
201 .button a {
202 background-color: #b64b22;
203 color: #ffffff;
204 margin-right: 6px;
205 padding: 6px 10px;
206 font-size: 12px;
207 text-decoration: none;
208 font-weight: bold;
209 }
210 .button a:hover, input[type=submit]:hover {
211 background-color: #a3431f;
212 color: #ffffff;
213 }
215 /* Round corner */
217 #block_nav, pre, .box, .searchbox, .button a, #twitter {
218 -moz-border-radius: 4px;
219 -webkit-border-radius: 4px;
220 border-radius: 4px;
221 }
223 /* Transition */
225 .box {
226 -webkit-transition-property: background-color;
227 -webkit-transition-duration: 2s;
228 -moz-transition-property: background-color;
229 -moz-transition-duration: 2s;
230 transition-property: background-color;
231 transition-duration: 2s;
232 }
234 /* Form */
236 input[type=submit] {
237 border: 1px solid #b64b22;
238 background-color: #b64b22;
239 color: white;
240 font-weight: bold;
241 cursor: pointer;
242 padding: 4px 10px;
243 font-size: 14px;
244 margin-left: -5px;
245 -webkit-border-top-right-radius: 4px;
246 -webkit-border-bottom-right-radius: 4px;
247 -moz-border-radius-topright: 4px;
248 -moz-border-radius-bottomright: 4px;
249 border-top-right-radius: 4px;
250 border-bottom-right-radius: 4px;
251 }
253 input[type=submit]:hover { background-color: #a3431f; }
255 input[type=text] {
256 border: 1px inset #333333;
257 padding: 2px;
258 height: 17px;
259 width: 100%;
260 -webkit-border-radius: 4px;
261 -moz-border-radius: 4px;
262 border-radius: 4px;
263 }
265 /* Footer */
267 #footer {
268 background: #f1f1f1;
269 text-align: center;
270 border-top: 1px solid #ddd;
271 padding: 40px;
272 color: #666;
273 }
275 #footer a { color: #666; padding: 0 2px; }
277 .year:after {
278 /* content: "2007-2013"; */
279 content: "2013";
280 }
282 /* Mercurial */
284 #tarball ul { margin: 0 0 6px; padding: 0px; }
285 #tarball li { display: inline-block; }
287 #content a { text-decoration:none; }
289 #block_nav li { font-weight: bold; }
291 .container {
292 margin: 0px 280px 0px 0px;
293 padding: 0px 40px 60px 40px;
294 }
296 .main {
297 background: white;
298 }
300 #.main {
301 width: 100%;
302 }
304 .overflow {
305 width: 100%;
306 overflow: auto;
307 }
309 .search {
310 text-align: center;
311 }
313 form.search div#hint {
314 display: none;
315 position: absolute;
316 top: 96px;
317 left: 10%;
318 width: 300px;
319 padding: 5px 10px;
320 background: #f1f1f1;
321 border: 1px solid #c5c5c5;
322 -moz-border-radius: 5px; /* this works only in camino/firefox */
323 -webkit-border-radius: 5px; /* this is just for Safari */
324 }
326 form.search:hover div#hint { display: block; }
328 .age { white-space:nowrap; }
329 .date { white-space:nowrap; }
330 .indexlinks { white-space:nowrap; }
331 .parity0 { background-color: #f0f0f0; }
332 .parity1 { background-color: white; }
333 .plusline { color: green; }
334 .minusline { color: #dc143c; } /* crimson */
335 .atline { color: purple; }
337 .navigate {
338 text-align: right;
339 font-size: 80%;
340 margin: 1em 0;
341 }
343 .tag {
344 color: #999;
345 font-size: 70%;
346 font-weight: normal;
347 margin-left: .5em;
348 vertical-align: baseline;
349 }
351 .branchhead {
352 color: #000;
353 font-size: 80%;
354 font-weight: normal;
355 margin-left: .5em;
356 vertical-align: baseline;
357 }
359 ul#graphnodes .branchhead {
360 font-size: 75%;
361 }
363 .branchname {
364 color: #000;
365 font-size: 60%;
366 font-weight: normal;
367 margin-left: .5em;
368 vertical-align: baseline;
369 }
371 h3 .branchname {
372 font-size: 80%;
373 }
375 /* Common */
376 pre { margin: 0; }
378 h2 a { color: #215090; }
380 /* log and tags tables */
381 .bigtable {
382 border-bottom: 1px solid #999;
383 border-collapse: collapse;
384 font-size: 90%;
385 width: 100%;
386 font-weight: normal;
387 text-align: left;
388 margin-top: 10px;
389 }
391 .bigtable td {
392 vertical-align: top;
393 }
395 .bigtable th {
396 padding: 1px 4px;
397 border-bottom: 1px solid #999;
398 }
399 .bigtable tr { border: none; }
400 .bigtable .age { width: 6em; }
401 .bigtable .author { width: 12em; }
402 .bigtable .description { }
403 .bigtable .node { width: 5em; font-family: monospace;}
404 .bigtable .permissions { width: 8em; text-align: left;}
405 .bigtable .size { width: 5em; text-align: right; }
406 .bigtable .annotate { text-align: right; }
407 .bigtable td.annotate { font-size: smaller; }
408 .bigtable td.source { font-size: inherit; }
410 .source, .sourcefirst, .sourcelast {
411 font-family: monospace;
412 white-space: pre;
413 padding: 1px 4px;
414 font-size: 90%;
415 }
416 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; }
417 .sourcelast { border-top: 1px solid #999; }
418 .source a { color: #999; font-size: smaller; font-family: monospace;}
419 .bottomline { border-bottom: 1px solid #999; }
421 .fileline { font-family: monospace; }
422 .fileline img { border: 0; }
424 .tagEntry .closed { color: #99f; }
426 /* Changeset entry */
427 #changesetEntry {
428 border-collapse: collapse;
429 font-size: 90%;
430 width: 100%;
431 margin-bottom: 1em;
432 }
434 #changesetEntry th {
435 padding: 1px 4px;
436 width: 4em;
437 text-align: right;
438 font-weight: normal;
439 color: #999;
440 margin-right: .5em;
441 vertical-align: top;
442 }
444 div.description {
445 border-left: 2px solid #999;
446 margin: 1em 0 1em 0;
447 padding: .3em;
448 }
450 /* Graph */
451 div#wrapper {
452 position: relative;
453 border-top: 1px solid black;
454 border-bottom: 1px solid black;
455 margin: 0;
456 padding: 0;
457 }
459 canvas {
460 position: absolute;
461 z-index: 5;
462 top: -0.7em;
463 margin: 0;
464 }
466 ul#graphnodes {
467 position: absolute;
468 z-index: 10;
469 top: -1.0em;
470 list-style: none inside none;
471 padding: 0;
472 }
474 ul#nodebgs {
475 list-style: none inside none;
476 padding: 0;
477 margin: 0;
478 top: -0.7em;
479 }
481 ul#graphnodes li, ul#nodebgs li {
482 height: 39px;
483 }
485 ul#graphnodes li .info {
486 display: block;
487 font-size: 70%;
488 position: relative;
489 top: -3px;
490 }