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