]> nos-oignons.net Git - website.git/blob - local.css
Style des boutons de dons en Bitcoin.
[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 table {
308         border-top: solid 1px #aaa;
309         border-bottom: solid 1px #aaa;
310         border-collapse: collapse;
311 }
312
313 #content table th {
314         background: #fafafa;
315         padding: 0.1em 0.5em;
316         border-bottom: solid 1px #aaaaaa;
317         color: #555555;
318 }
319
320 #content table td {
321         padding: 0.1em 0.5em;
322         border-top: solid 1px #ccc;
323 }
324
325 #content .header a {
326         text-decoration: none;
327 }
328
329 #content .feedlink a {
330         text-decoration: none;
331 }
332
333 #content .feedlink {
334         text-align: right;
335         margin-top: -2.8em;
336         min-height: 2.8em;
337 }
338 #content .feedlink .feedbutton {
339         font-size: 80%;
340         color: #57075f !important;
341         background: transparent;
342         border: none;
343 }
344 #content .feedlink .feedbutton:hover {
345         color: #57075f !important;
346         background: transparent;
347         text-decoration: underline;
348 }
349
350 #content .footnotes {
351         font-size: 80%;
352 }
353
354 .half-section {
355   display: inline-block;
356   vertical-align: top;
357   width: 49.5%;
358 }
359
360 /* #content }}} */
361
362 /* Paypal donation forms */
363 .paypal-donation {
364         display: inline-block;
365         vertical-align: top;
366         width:45%;
367         padding-right: 4%;
368 }
369 .paypal-donation h4 {
370         margin: 0 0 0.5em 0;
371 }
372 .paypal-donation select {
373         display: inline-block;
374         vertical-align: top;
375         margin-right: 1em;
376         min-height:26px;
377 }
378 .paypal-donation .cancel {
379         font-size: small;
380 }
381
382
383 /* Progress bar */
384 .progress-bar-wrapper {
385   margin: 2em auto;
386   height: 85px;
387   width: 600px;
388   background: lightGrey url(assets/progress_bar.png) top left repeat-x;
389   border: 1px solid #ccc;
390   border-bottom: 0;
391   position: relative;
392 }
393   .progress-bar-wrapper .progress-bar {
394     position: absolute;
395     height: 85px;
396     background: grey url(assets/progress_bar.png) bottom left repeat-x;
397     /* animate progress bar */
398     -webkit-animation: progress-bar 1.5s;
399     -moz-animation: progress-bar 1.5s;
400     animation: progress-bar 1.5s;
401   }
402
403   /* progress bar animation*/
404   @-webkit-keyframes progress-bar { 0% { width: 0; } }
405   @-moz-keyframes progress-bar { 0% { width: 0; } }
406   keyframes progress-bar { 0% { width: 0; } }
407
408   /* Current amount */
409   .progress-bar-wrapper .progress-bar:after {
410     content: attr(data-current);
411     display: block;
412     position: absolute;
413     top: -22px;
414     right: 0;
415     background: #fff;
416     color: #ccc;
417     font-size: 0.9em;
418   }
419
420   /* Temperature bar */
421   .progress-bar-wrapper:before {
422     content: " ";
423     display: block;
424     position: absolute;
425     z-index: 1;
426     bottom: -5px;
427     left: -1px;
428     height: 5px;
429     width: 100%;
430     border: 1px solid #ccc;
431     border-top: 0;
432     background: -moz-linear-gradient(left, #ff0000 0%, #66ff00 100%); /* FF3.6+ */
433     background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ff0000), color-stop(100%,#66ff00)); /* Chrome,Safari4+ */
434     background: -webkit-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Chrome10+,Safari5.1+ */
435     background: -o-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Opera 11.10+ */
436     background: -ms-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* IE10+ */
437     background: linear-gradient(to right, #ff0000 0%,#66ff00 100%); /* W3C */
438     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#66ff00',GradientType=1 ); /* IE6-9 */
439   }
440
441   /* Annual budget */
442   .progress-bar-wrapper:after {
443     content: attr(data-total);
444     display: block;
445     position: absolute;
446     top: -22px;
447     right: 0;
448     background: #fff;
449     color: #ccc;
450     font-size: 0.9em;
451   }
452
453
454
455 /* FDN Form */
456 .fdn-form {}
457   .fdn-form select,
458   .fdn-form input {
459     display: inline-block;
460     vertical-align: top;
461     margin-right: 1em;
462     height: 26px;
463   }
464   .fdn-form #custom-amount {
465     display:none;
466     height: 22px;
467   }
468
469
470 /* Paymium Bitcoin */
471 .paymium-btns {padding-left: 0;}
472 .paymium-btns li {
473   list-style: none;
474   display: inline-block;
475   margin: 0 0.5em 0.5em 0;
476 }
477
478 .paymium-btn {
479   display: inline-block;
480   /*min-width: 140px;*/
481   padding: 4px 44px 4px 10px;
482   padding-right: 44px;
483   background: #4d7b99 url(assets/paymium_btc.png) right center no-repeat;
484   border-radius: 4px;
485   text-align: center;
486   color: #fff;
487   text-decoration: none;
488   font-weight: bold;
489 }
490 .paymium-btn:hover{
491   background-color:#5081a0;
492   text-decoration: none;
493 }
494 /* override over weighted selector*/
495 #content .paymium-btn {color: #fff;text-decoration: none;}
496 #content .paymium-btn:hover {color: #fff;text-decoration: none;}
497
498
499 /* {{{ .inlinepage */
500
501 .inlinepage {
502         padding: 0;
503         border: none;
504         margin-bottom: 1em;
505 }
506
507 .inlinepage .header {
508         border-bottom: solid #ccc 1px;
509 }
510
511 .inlinepage .inlineheader .pagedate {
512         margin-top: 0;
513         font-size: 80%;
514         font-style: normal;
515         color: #666;
516 }
517
518 /* .inlinepage }}} */
519
520 /* {{{ #footer */
521 #footer {
522         position: relative;
523         margin: 0;
524         padding: 0.5em 0;
525         text-align: center;
526         color: white;
527         background: #57075f;
528         z-index: 400;
529 }
530
531 #footer #pageinfo {
532         position: relative;
533         margin: auto;
534         padding: 0.1em 2em;
535         border-top: none;
536 }
537
538 #footer a {
539         color: white;
540 }
541
542 #footer a:hover {
543         text-decoration: underline;
544 }
545
546 #backlinks {
547         font-size: 80%;
548         margin-top: 0;
549 }
550
551 #footer #pageinfo div {
552         font-size: 80%;
553         margin-top: 0;
554         margin-bottom: 0;
555 }
556 /* #footer }}} */
557
558 /* {{{ @media print */
559 @media print {
560         .sidebar,
561         .actions,
562         .feedlink,
563         #backlinks,
564         #otherlanguages {
565                 display: none;
566         }
567
568         #footer,
569         #footer #pageinfo,
570         .page,
571         .pageheader,
572         #pagebody {
573             margin: 0;
574             padding: 0;
575             border: none;
576             box-shadow: none;
577         }
578
579         .page,
580         .pageheader {
581                 border-radius: 0;
582         }
583
584         .pageheader {
585                 position: static;
586                 height: auto;
587         }
588
589         .pageheader .header {
590                 margin-left: 0;
591                 padding-top: 2em;
592                 padding-bottom: 1em;
593         }
594
595         .pageheader .header > span,
596         .parentlinks .parentlinksep {
597                 display: inline;
598                 height: auto;
599         }
600
601         .pageheader a,
602         .pageheader .parentlinks a {
603                 color: black;
604         }
605
606         .pageheader,
607         .parentlinks a,
608         .parentlinks .parentlinksep + a + .parentlinksep + a {
609                 background: none;
610         }
611
612         .pageheader .parentlinks {
613                 display: inline;
614         }
615
616         .pageheader .title,
617         .parentlinks > a {
618                 position: static;
619         }
620
621         .parentlinks > a span {
622                 display: inline;
623         }
624
625         #content h1 {
626                 color: black;
627                 text-shadow: none;
628                 border-bottom: solid #ccc 1px;
629         }
630
631         #content a:link:after,
632         #content a:visited:after {
633                 content:" [" attr(href) "] ";
634         }
635
636         #footer {
637                 margin-top: 2em;
638                 text-align: left;
639         }
640 }
641 /* @media print }}} */