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