]> nos-oignons.net Git - website.git/blob - local.css
Correction sur les promesses de dons
[website.git] / local.css
1 /* vim: set ts=4 sts=4 sw=4 isk+=-,. fen fcl=all fdm=marker fmr={{{,}}} fml=2 : */
2
3 @font-face {
4   font-family: 'Open Sans';
5   font-style: normal;
6   font-weight: 400;
7   src: local('Open Sans'), local('OpenSans'), url(assets/OpenSans/OpenSans.ttf) format('truetype');
8 }
9 @font-face {
10   font-family: 'Open Sans';
11   font-style: normal;
12   font-weight: 700;
13   src: local('Open Sans Bold'), local('OpenSans-Bold'), url(assets/OpenSans/OpenSans-Bold.ttf) format('truetype');
14 }
15 @font-face {
16   font-family: 'Open Sans';
17   font-style: italic;
18   font-weight: 400;
19   src: local('Open Sans Italic'), local('OpenSans-Italic'), url(assets/OpenSans/OpenSans-Italic.ttf) format('truetype');
20 }
21 @font-face {
22   font-family: 'Open Sans';
23   font-style: italic;
24   font-weight: 700;
25   src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(assets/OpenSans/OpenSans-BoldItalic.ttf) format('truetype');
26 }
27 @font-face {
28   font-family: 'Inconsolata';
29   font-style: normal;
30   font-weight: 400;
31   src: local('Inconsolata'), local('Inconsolata-Regular'), url(assets/Inconsolata/Inconsolata.otf) format('opentype');
32 }
33
34 html {
35         overflow: auto;
36 }
37
38 body {
39         margin: 0;
40         padding: 0;
41         font-family: "Open Sans", sans-serif;
42         color: #b3b3b3;
43         background: url(assets/tile.png) fixed;
44 }
45
46 code,
47 pre {
48         font-family: "Inconsolata", monospace;
49         font-size-adjust: 0.535;
50 }
51
52 dt {
53         font-weight: bold;
54 }
55
56 thead td {
57         text-decoration: underline;
58 }
59
60 .page {
61         overflow: hidden;
62         max-width: 54em;
63         margin: 0 auto 0 auto;
64         box-shadow: 0 0 0.6em 0 #333366;
65         background: #f5f5f5;
66 }
67
68 /* {{{ .pageheader */
69 .pageheader {
70         position: fixed;
71         width: 54em; /* same as .page:max-width */
72         height: 100px;
73         padding: 0;
74         background: white url(assets/filet.png) no-repeat 99% 90px;
75         box-shadow: 0 10px 15px 0px white;
76         z-index: 120;
77 }
78
79 .pageheader .header {
80         font-size: 120%;
81         margin-left: 394px;
82 }
83
84 .pageheader .header > span {
85         display: block;
86         height: 100px;
87         padding-top: 22px;
88 }
89
90 .pageheader .parentlinks {
91         display: block;
92 }
93
94 .pageheader a,
95 .pageheader .parentlinks a {
96         color: #ffa430; /* was: #eeeeaa */
97         text-decoration: none;
98 }
99
100 .pageheader a:hover {
101         text-decoration: underline;
102 }
103
104 .pageheader .title {
105         position: absolute;
106         bottom: 27px;
107         left: 392px;
108         font-size: 160%;
109         color: black;
110 }
111
112 .pageheader .title .translationstatus {
113         display: none;
114 }
115
116 .parentlinks > a {
117         width: 394px; /* same as .pageheader .header:margin-left */
118         height: 100px;
119         background: url(assets/logo-nos-oignons-blanc.png) no-repeat top left;
120         position: absolute;
121         left: 0;
122         top: 0;
123 }
124
125 .parentlinks > a span {
126         display: none;
127 }
128
129 .parentlinks .parentlinksep + a {
130         width: auto;
131         height: auto;
132         background: transparent;
133         display: inline;
134         position: static;
135 }
136
137 .parentlinks .parentlinksep + a + .parentlinksep + a {
138         background: url(assets/ariane-sep.png) no-repeat 0% 50%;
139         padding-left: 20px;
140 }
141
142 .parentlinks .parentlinksep + a span {
143         display: inline;
144 }
145
146 .parentlinks .parentlinksep {
147         display: none;
148 }
149
150 /* {{{ .actions */
151 .actions {
152         font-size: 80%;
153         text-align: right;
154 }
155
156 /* .actions }}} */
157 /* {{{ #otherlanguages */
158 #otherlanguages,
159 #otherlanguages ul li a {
160         color: #57075f;
161         background: white;
162 }
163
164 #otherlanguages ul li {
165         margin-left: 1em;
166 }
167 #otherlanguages .langstatus {
168         display: none;
169 }
170
171 .pageheader #otherlanguages {
172         border: none;
173         position: absolute;
174         bottom: 1.2em;
175         right: 0;
176         z-index: 300;
177         font-size: 80%;
178 }
179 /* #otherlanguages }}} */
180 /* .pageheader }}} */
181
182 #pagebody {
183         position: relative;
184         min-height: 756px;
185         margin: 0 0 0 11.44em; /* same as .sidebar:width */
186         padding: 100px 2em 1em 2em;
187         z-index: 110;
188         background: white url(assets/background.png) no-repeat bottom center;
189         color: black;
190         border-left: solid 1px #ccc;
191 }
192
193 /* {{{ .sidebar */
194 .sidebar {
195         position: fixed;
196         overflow: hidden;
197         top: 100px; /* same as .header:height */
198         width: 11.44em;
199         margin: 0;
200         padding: 0;
201         border: none;
202         z-index: 200;
203         background: #f5f5f5;
204         border-top: solid 1px #ccc;
205         padding-top: 30px;
206 }
207
208 .sidebar ul {
209         margin: 0;
210 }
211
212 .sidebar ul {
213         padding: 0;
214         list-style: none;
215         background: transparent;
216 }
217
218 .sidebar li {
219         text-align: left;
220 }
221
222 .sidebar ul li .selflink {
223         color: #57075f;
224         font-weight: bold;
225 }
226
227 .sidebar ul li > span,
228 .sidebar ul li > a {
229         display: block;
230         padding: 0.3em 0.5em;
231         text-decoration: none;
232         border: 1px solid #f5f5f5;
233         color: #a756af;
234         background: transparent;
235         font-weight: normal;
236         font-size: 100%;
237 }
238
239 .sidebar ul li .selflink:hover {
240         border-top: 1px dotted #57075f;
241         border-bottom: 1px dotted #57075f;
242         background: #eeeeee;
243 }
244
245 .sidebar a:hover {
246         border-top: 1px dotted #57075f;
247         border-bottom: 1px dotted #57075f;
248         color: #57075f;
249         background: #eeeeee;
250         text-decoration: none;
251 }
252 /* .sidebar }}} */
253 /* {{{ #content */
254 #content {
255         padding-top: 1em;
256         overflow: auto;
257 }
258
259 #content a {
260         color: #57075f;
261         text-decoration: underline;
262 }
263
264 #content a:hover {
265         text-decoration: underline;
266 }
267
268 #content p {
269         text-align: justify;
270         margin: 1em 0 1em 0;
271 }
272
273 #content hr {
274         border: none;
275         border-bottom: dotted 2px #bbbbbb;
276         margin: 2em auto;
277 }
278
279 #content h1 {
280         font-size: 180%;
281         font-weight: bold;
282         color: #ffa430;
283         text-shadow: 2px 2px 1px #444;
284 }
285
286 #content h2,
287 #content .header {
288         font-size: 140%;
289         font-weight: bold;
290 }
291
292 #content h2 + p {
293         margin-top: 0.75em;
294 }
295
296 #content h3 {
297         font-size: 120%;
298         font-weight: bold;
299         margin-bottom: 0;
300         padding-bottom: 0;
301 }
302
303 #content h3 + p {
304         margin-top: 0.5em;
305 }
306
307 #content blockquote {
308   border-left: 2px solid #A756AF;
309   margin: 0.5em 0;
310   padding: 0.5em 0 0.5em 1em;
311 }
312 #content blockquote p {margin: 0;}
313 #content blockquote p + p {margin-top: 1em;}
314
315 #content table {
316         border-top: solid 1px #aaa;
317         border-bottom: solid 1px #aaa;
318         border-collapse: collapse;
319 }
320
321 #content table th {
322         background: #fafafa;
323         padding: 0.1em 0.5em;
324         border-bottom: solid 1px #aaaaaa;
325         color: #555555;
326 }
327
328 #content table td {
329         padding: 0.1em 0.5em;
330         border-top: solid 1px #ccc;
331 }
332
333 #content .header a {
334         text-decoration: none;
335 }
336
337 #content .feedlink a {
338         text-decoration: none;
339 }
340
341 #content .feedlink {
342         text-align: right;
343         margin-top: -2.8em;
344         min-height: 2.8em;
345 }
346 #content .feedlink .feedbutton {
347         font-size: 80%;
348         color: #57075f !important;
349         background: transparent;
350         border: none;
351 }
352 #content .feedlink .feedbutton:hover {
353         color: #57075f !important;
354         background: transparent;
355         text-decoration: underline;
356 }
357
358 #content .footnotes {
359         font-size: 80%;
360 }
361
362 .half-section {
363   display: inline-block;
364   vertical-align: top;
365   width: 49.5%;
366 }
367
368 /* #content }}} */
369
370 /* Paypal donation forms */
371 .paypal-donation {
372         display: inline-block;
373         vertical-align: top;
374         width:45%;
375         padding-right: 4%;
376 }
377 .paypal-donation h4 {
378         margin: 0 0 0.5em 0;
379 }
380 .paypal-donation select {
381         display: inline-block;
382         vertical-align: top;
383         margin-right: 1em;
384         min-height:26px;
385 }
386 .paypal-donation .cancel {
387         font-size: small;
388 }
389
390
391 /* Progress bar */
392 .progress-bar-wrapper {
393   margin: 2em auto;
394   height: 85px;
395   width: 600px;
396   background: lightGrey url(assets/progress_bar.png) top left repeat-x;
397   border: 1px solid #ccc;
398   border-bottom: 0;
399   position: relative;
400 }
401   .progress-bar-wrapper .progress-bar {
402     position: absolute;
403     height: 85px;
404     background: grey url(assets/progress_bar.png) left -85px repeat-x;
405     z-index: 2;
406     /* animate progress bar */
407     -webkit-animation: progress-bar 1.5s;
408     -moz-animation: progress-bar 1.5s;
409     animation: progress-bar 1.5s;
410   }
411   .progress-bar-wrapper .progress-bar-promises {
412     background: grey url(assets/progress_bar.png) left bottom repeat-x;
413     z-index: 1;
414   }
415
416   /* progress bar animation*/
417   @-webkit-keyframes progress-bar { 0% { width: 0; } }
418   @-moz-keyframes progress-bar { 0% { width: 0; } }
419   keyframes progress-bar { 0% { width: 0; } }
420
421   /* Current amount */
422   .progress-bar-wrapper .progress-bar:after {
423     content: attr(data-current);
424     display: block;
425     position: absolute;
426     top: -22px;
427     right: 0;
428     background: #fff;
429     color: #ccc;
430     font-size: 0.9em;
431   }
432   /* Promises amount */
433   .progress-bar-wrapper .progress-bar-promises:after {
434   }
435
436   /* Temperature bar */
437   .progress-bar-wrapper:before {
438     content: " ";
439     display: block;
440     position: absolute;
441     z-index: 3;
442     bottom: -5px;
443     left: -1px;
444     height: 5px;
445     width: 100%;
446     border: 1px solid #ccc;
447     border-top: 0;
448     background: -moz-linear-gradient(left, #ff0000 0%, #66ff00 100%); /* FF3.6+ */
449     background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ff0000), color-stop(100%,#66ff00)); /* Chrome,Safari4+ */
450     background: -webkit-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Chrome10+,Safari5.1+ */
451     background: -o-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Opera 11.10+ */
452     background: -ms-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* IE10+ */
453     background: linear-gradient(to right, #ff0000 0%,#66ff00 100%); /* W3C */
454     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#66ff00',GradientType=1 ); /* IE6-9 */
455   }
456
457   /* Annual budget */
458   .progress-bar-wrapper:after {
459     content: attr(data-total);
460     display: block;
461     position: absolute;
462     top: -22px;
463     right: 0;
464     background: #fff;
465     color: #ccc;
466     font-size: 0.9em;
467   }
468
469
470
471 /* FDN Form */
472 .fdn-form {}
473   .fdn-form select,
474   .fdn-form input {
475     display: inline-block;
476     vertical-align: top;
477     margin-right: 1em;
478     height: 26px;
479   }
480   .fdn-form #custom-amount {
481     display:none;
482     height: 22px;
483   }
484
485
486 /* Paymium Bitcoin */
487 .paymium-btns {padding-left: 0;}
488 .paymium-btns li {
489   list-style: none;
490   display: inline-block;
491   margin: 0 0.5em 0.5em 0;
492 }
493
494 .paymium-btn {
495   display: inline-block;
496   min-width: 10em;
497   padding: 4px 44px 4px 10px;
498   padding-right: 44px;
499   background: #4d7b99 url(assets/paymium_btc.png) right center no-repeat;
500   border-radius: 4px;
501   text-align: center;
502   color: #fff;
503   text-decoration: none;
504   font-weight: bold;
505 }
506 .paymium-btn:hover{
507   background-color:#5081a0;
508   text-decoration: none;
509 }
510 /* override over weighted selector*/
511 #content .paymium-btn {color: #fff;text-decoration: none;}
512 #content .paymium-btn:hover {color: #fff;text-decoration: none;}
513
514
515 /* {{{ .inlinepage */
516
517 .inlinepage {
518         padding: 0;
519         border: none;
520         margin-bottom: 1em;
521 }
522
523 .inlinepage .header {
524         border-bottom: solid #ccc 1px;
525 }
526
527 .inlinepage .inlineheader .pagedate {
528         margin-top: 0;
529         font-size: 80%;
530         font-style: normal;
531         color: #666;
532 }
533
534 /* .inlinepage }}} */
535
536 /* {{{ #footer */
537 #footer {
538         position: relative;
539         margin: 0;
540         padding: 0.5em 0;
541         text-align: center;
542         color: white;
543         background: #57075f;
544         z-index: 400;
545 }
546
547 #footer #pageinfo {
548         position: relative;
549         margin: auto;
550         padding: 0.1em 2em;
551         border-top: none;
552 }
553
554 #footer a {
555         color: white;
556 }
557
558 #footer a:hover {
559         text-decoration: underline;
560 }
561
562 #backlinks {
563         font-size: 80%;
564         margin-top: 0;
565 }
566
567 #footer #pageinfo div {
568         font-size: 80%;
569         margin-top: 0;
570         margin-bottom: 0;
571 }
572 /* #footer }}} */
573
574 /* {{{ @media print */
575 @media print {
576         .sidebar,
577         .actions,
578         .feedlink,
579         #backlinks,
580         #otherlanguages {
581                 display: none;
582         }
583
584         #footer,
585         #footer #pageinfo,
586         .page,
587         .pageheader,
588         #pagebody {
589             margin: 0;
590             padding: 0;
591             border: none;
592             box-shadow: none;
593         }
594
595         .page,
596         .pageheader {
597                 border-radius: 0;
598         }
599
600         .pageheader {
601                 position: static;
602                 height: auto;
603         }
604
605         .pageheader .header {
606                 margin-left: 0;
607                 padding-top: 2em;
608                 padding-bottom: 1em;
609         }
610
611         .pageheader .header > span,
612         .parentlinks .parentlinksep {
613                 display: inline;
614                 height: auto;
615         }
616
617         .pageheader a,
618         .pageheader .parentlinks a {
619                 color: black;
620         }
621
622         .pageheader,
623         .parentlinks a,
624         .parentlinks .parentlinksep + a + .parentlinksep + a {
625                 background: none;
626         }
627
628         .pageheader .parentlinks {
629                 display: inline;
630         }
631
632         .pageheader .title,
633         .parentlinks > a {
634                 position: static;
635         }
636
637         .parentlinks > a span {
638                 display: inline;
639         }
640
641         #content h1 {
642                 color: black;
643                 text-shadow: none;
644                 border-bottom: solid #ccc 1px;
645         }
646
647         #content a:link:after,
648         #content a:visited:after {
649                 content:" [" attr(href) "] ";
650         }
651
652         #footer {
653                 margin-top: 2em;
654                 text-align: left;
655         }
656 }
657 /* @media print }}} */