Dotclear

source: themes/default/style.css @ 3731:3770620079d4

Revision 3731:3770620079d4, 8.7 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

Line 
1body {
2     margin: 0;
3     padding: 0;
4     background: #e0e0e0 url(img/body-bg.png) repeat-x top;
5     color: #6b6b6b;
6     font: 62.5% "Lucida Grande",Arial,sans-serif;
7}
8
9a {
10     color: #279ac4;
11     text-decoration: none;
12}
13a:hover, a:active, a:focus {
14     color:#6d8824;
15     text-decoration: underline;
16}
17
18a img {
19     border: none;
20}
21
22pre {
23     white-space: pre;
24     white-space: -moz-pre-wrap;
25     white-space: -hp-pre-wrap;
26     white-space: -o-pre-wrap;
27     white-space: -pre-wrap;
28     white-space: pre-wrap;
29     white-space: pre-line;
30     word-wrap: break-word;
31}
32
33sup {
34     font-size:80%;
35     line-height:50%;
36}
37
38.left {
39     float: left;
40}
41
42.right {
43     float: right;
44}
45
46/* Layout
47-------------------------------------------------------- */
48#page {
49     font-size: 1.2em;
50}
51
52#top {
53     position: relative;
54     height: 180px;
55     width: 800px;
56     padding: 0;
57     margin: 50px auto 0 auto;
58     background: transparent url(img/page-t.png) no-repeat bottom left;
59}
60#top h1 {
61     position: absolute;
62     top: 25px;
63     width: 100%;
64     margin: 0;
65     text-align: center;
66     font-size: 3.5em;
67}
68#top h1 a {
69     color: #9ac528;
70     text-decoration: none;
71}
72
73#prelude {
74     position: absolute;
75     top: 7px;
76     right: 7px;
77     margin: 0;
78     padding: 0;
79     color: #ededed;
80}
81#prelude a {
82     color: #ededed;
83}
84#prelude a:focus, #prelude a:hover {
85     background: yellow;
86     color: red;
87     text-decoration: none;
88}
89
90#wrapper {
91     width: 800px;
92     overflow: hidden;
93     margin: 0 auto 0 auto;
94     padding: 20px 0;
95     background: #fff url(img/page-bg.png) repeat-y top left;
96}
97
98#main {
99     width: 550px;
100     float: left;
101}
102
103#breadcrumb, #content {
104     padding: 0 25px;
105}
106
107#sidebar {
108     width: 250px;
109     float: right;
110}
111#blognav, #blogextra {
112     padding: 1px 25px;
113}
114
115#footer {
116     clear: both;
117     padding: 30px 0 0 0;
118     background: transparent url(img/page-b.png) no-repeat top center;
119}
120#footer p {
121     margin: 0 auto;
122     padding: 10px 0 20px;
123     background: #e0e0e0;
124     color: #9ac528;
125     text-align: center;
126     font-size: 1.2em;
127}
128#footer p a {
129     color: #6d8824;
130}
131
132
133/* Sidebar styles
134-------------------------------------------------------- */
135#sidebar h2 {
136     margin: 0;
137     color: #8fb22f;
138}
139#sidebar h3 {
140     margin: 1em 0 0.5em;
141     color: #279ac4;
142}
143
144#sidebar div div {
145     margin-bottom: 2em;
146}
147#sidebar div div div {
148     margin-bottom: 0;
149}
150
151#sidebar ul {
152     list-style: none;
153     margin: 1em 0;
154     padding: 0;
155     border-top: 1px solid #ffd02c;
156}
157#sidebar li {
158     display: block;
159     margin: 0;
160     padding: 4px 0;
161     border-bottom: 1px solid #FFD02C;
162}
163#sidebar li a {
164     color: #6B6B6B;
165     text-decoration: none;
166}
167#sidebar li a:hover, #sidebar li a:focus, #sidebar li a:active {
168     color: #9ac528;
169}
170#sidebar ul ul {
171     list-style: disc;
172     margin: 0;
173     padding: 0 0 0 15px;
174     border: none;
175}
176#sidebar li li {
177     display: list-item;
178     margin: 0.5em 0 0 0;
179     padding: 0 0;
180     border: none;
181}
182
183
184#search fieldset {
185     border: none;
186     margin: 0;
187     padding: 0;
188}
189#q {
190     border: 1px solid #bfbfbf;
191     width: 150px;
192     color: #6b6b6b;
193}
194#search .submit {
195     padding: 0;
196     border: 1px solid #fff;
197     background: none;
198     font-weight: bold;
199     color: #6b6b6b;
200     text-transform: uppercase;
201}
202#search .submit:hover {
203     background: #9ac528;
204     color: #fff;
205     border: 1px solid #9ac528;
206}
207
208#topnav ul {
209     border-bottom: 1px solid #ffd02c;
210     padding: 4px 0;
211}
212#topnav li {
213     display: inline;
214     border-bottom: none;
215}
216
217#sidebar .syndicate ul {
218     border-top: none;
219}
220#sidebar .syndicate li {
221     border-bottom: none;
222}
223
224#sidebar .categories li.category-current {
225     font-weight: bold;
226}
227#sidebar .categories li.category-current li {
228     font-weight: normal;
229}
230
231#sidebar .tags ul {
232     border-top: none;
233     font-size: 1.1em;
234     text-align: justify;
235}
236#sidebar .tags ul li {
237     display: inline;
238     background: none;
239     margin: 0;
240     padding: 0;
241     border: none;
242     line-height: 1.8em;
243}
244
245.tag0 { font-size: 75%; }
246.tag10 { font-size: 80%; }
247.tag20 { font-size: 90%; }
248.tag30 { font-size: 100%; }
249.tag40 { font-size: 110%; }
250.tag50 { font-size: 120%; }
251.tag60 { font-size: 140%; }
252.tag70 { font-size: 150%; }
253.tag80 { font-size: 160%; }
254.tag90 { font-size: 170%; }
255.tag100 { font-size: 180%; }
256
257ul.tags {
258     list-style: none;
259     margin: 1em 0;
260     padding: 0;
261     font-size: 1.3em;
262     text-align: justify;
263}
264ul.tags li {
265     display: inline;
266     margin: 0;
267     padding: 0;
268     line-height: 1.8em;
269}
270
271
272/* Main content styles
273-------------------------------------------------------- */
274h2, h3, h4 {
275     margin: 1em 0 0 0;
276     padding: 0;
277}
278
279h2 {
280     font-size: 1.4em;
281}
282h3 {
283     font-size: 1.2em;
284}
285h4 {
286     font-size: 1em;
287}
288
289#subcategories {
290     background: #fbfbfb;
291     border-color: #BFBFBF;
292     border-style: solid;
293     border-width: 1px 0;
294     margin: 1em 0;
295     padding: 0.5em;
296}
297#subcategories h3 {
298     margin: 0;
299}
300#subcategories ul {
301     margin: 0.5em 0 0 0;
302     padding: 0 0 0 20px;
303     line-height: 1.4;
304}
305
306.day-date {
307     font-size: 1em;
308     margin: 0 0 0.5em;
309     text-align: right;
310     color: #279ac4;
311}
312
313.post {
314     margin: 0 0 2em 0;
315}
316.post-title {
317     color:#9ac528;
318     font-size:1.7em;
319}
320.post-title a {
321     color:#9ac528;
322}
323.post-info {
324     margin: 0 0 0 0;
325}
326
327.post-tags {
328     list-style: none;
329     margin: 1em 0 1em;
330     padding: 3px 0;
331}
332.post-tags li {
333     display: inline;
334     margin-right: 8px;
335     padding: 5px 0 5px 22px;
336     background: transparent url(img/tag.png) no-repeat 0 70%;
337}
338.post-tags li a {
339     color: #6b6b6b;
340}
341
342.post-info-co {
343     clear: left;
344     padding: 3px 0 3px 0.5em;
345     border-width: 1px 0;
346     border-style: solid;
347     border-color: #bfbfbf;
348     background: #fbfbfb;
349}
350.post-info-co a {
351     color: #2b2b2b;
352     padding: 2px 10px 2px 18px;
353}
354
355.comment_count {
356     background: transparent url(img/comment.png) no-repeat 0 50%;
357}
358.ping_count {
359     background: transparent url(img/trackback.png) no-repeat 0 50%;
360}
361.attach_count {
362     background: transparent url(img/attach.png) no-repeat 0 50%;
363}
364
365.read-it {
366     font-weight: bold;
367     clear: left;
368}
369
370a.feed {
371     background: transparent url(img/feed.png) no-repeat 0 0.25em;
372     padding: 5px 0 5px 22px;
373}
374
375/* Post content
376-------------------------------------------------------- */
377.post-content, .post-excerpt, #comments dd, #pings dd, dd.comment-preview {
378     line-height:1.4em;
379}
380.post-content acronym, .post-excerpt acronym {
381     cursor: help;
382     border-bottom: 1px dotted #666;
383}
384
385.post-content pre, .post-excerpt pre {
386     padding: 10px ;
387     font: 1.1em 'courier new', courier, monospace;
388}
389
390.post-content ul, .post-excerpt ul, .post-content ol, .post-excerpt ol {
391     margin: 0 0 0.5em 0;
392     padding: 0 0 0 15px;
393}
394
395.post-content li, .post-excerpt li {
396     margin: 0;
397     padding: 0;
398}
399
400.post-content blockquote, .post-excerpt blockquote {
401     margin: 4px 0 4px 0;
402     padding: 0 5px;
403     border-left: 4px solid #bfbfbf;
404}
405
406
407#attachments h3 {
408     font-size: 1.2em;
409}
410
411#attachments ul {
412     list-style: none;
413     margin: 0;
414     padding: 4px 0;
415}
416
417#attachments li {
418     margin: 0 0 0.6em;
419     padding: 2px 10px 2px 18px;
420     background: transparent url(img/attach.png) no-repeat 0 50%;
421}
422
423#attachments li object {
424     display: inline;
425     margin: 0;
426     padding: 0;
427     vertical-align: bottom;
428}
429
430/* Comments and trackbacks
431-------------------------------------------------------- */
432#comments {
433     clear: both;
434}
435#comments h3, #comment-form h3, #pings h3 {
436     border-width: 1px 0;
437     border-style: solid;
438     border-color: #bfbfbf;
439     background: #fbfbfb;
440     padding: 5px;
441     margin: 20px 0 8px 0;
442     font-size: 1.2em;
443}
444
445#comments dt {
446     margin: 1.5em 0 0 0;
447     padding: 5px 0 16px 0;
448     background: transparent url(img/comment-t.png) no-repeat bottom left;
449}
450#comments dt.me {
451     background-image: url(img/commentmy-t.png);
452}
453#comments a.comment-number {
454     display: block;
455     float: left;
456     width: 30px;
457     margin-right: 40px;
458     font-size: 1.2em;
459}
460#comments dd {
461     margin: 0;
462     padding: 1px 1em 0.5em 1em;
463     background: #fffad1 url(img/comment-b.png) no-repeat bottom left;
464     color:#6b6b6b;
465}
466#comments dd.me {
467     background-color:#f5f9d9;
468     color:#6b6b6b;
469     background-image:url(img/commentmy-b.png);
470}
471#comments dd p {
472     margin: 0.5em 0;
473     line-height: 1.5em;
474}
475
476.error {
477     margin: 20px 0 0;
478     padding: 10px 5px;
479     background: #ffcccc;
480     border: 2px solid red;
481     font-weight: bold;
482}
483
484/* Forms
485-------------------------------------------------------- */
486#comment-form {
487     padding-top: 10px;
488}
489
490#comment-form fieldset {
491     border: none;
492}
493#comment-form fieldset p {
494     padding: 5px 0;
495}
496#comment-form fieldset p.field {
497     padding: 5px 0;
498     width: auto;
499     margin: 0;
500     clear: left;
501}
502#comment-form p.form-help {
503     width: 60%;
504     margin: 0 0 0 30%;
505     font-style: italic;
506}
507
508#comment-form p label {
509     width: auto;
510}
511#comment-form p.field label {
512     font-weight: bold;
513     display: block;
514     padding: 0 1% 0 0;
515     width: 29%;
516     float: left;
517     text-align: right;
518}
519#comment-form input, #comment-form textarea {
520     font: 1em "Lucida Grande",Arial,sans-serif;
521     color: #279ac4;
522     border: 1px solid #cdcdcd;
523     padding: 1px 2px;
524     width: 68%;
525}
526
527#comment-form p.remember {
528     margin: 0;
529}
530#comment-form input#c_remember {
531     width: auto;
532     border: 0;
533     margin: 0 5px 0 30%;
534}
535#comment-form input.preview {
536     margin-left: 30%;
537}
538
539#comment-form input.preview, #comment-form input.submit {
540     width: auto;
541     color: #279ac4;
542     background: #fff;
543     font-size: 1em;
544     font-weight: bold;
545     text-transform: uppercase;
546     border: 1px solid #fff;
547}
548#comment-form input.preview:hover, #comment-form input.submit:hover {
549     background: #6d8824;
550     color: #fff;
551     border: 1px solid #6d8824;
552}
Note: See TracBrowser for help on using the repository browser.

Sites map