de: added translation of infographic-button
[enc-static.git] / css / main.css
CommitLineData
4c6644a3
AIC
1/* Eric Meyer's Reset CSS */
2html, body, div, span, applet, object, iframe,
3h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4a, abbr, acronym, address, big, cite, code,
5del, dfn, em, img, ins, kbd, q, s, samp,
6small, strike, strong, sub, sup, tt, var,
7b, u, i, center,
8dl, dt, dd, ol, ul, li,
9fieldset, form, label, legend,
10table, caption, tbody, tfoot, thead, tr, th, td,
11article, aside, canvas, details, embed,
12figure, figcaption, footer, header, hgroup,
13menu, nav, output, ruby, section, summary, main,
14time, mark, audio, video {
15 margin: 0;
16 padding: 0;
17 border: 0;
18 font-size: 100%;
19 font: inherit;
20 vertical-align: baseline;
21}
22
23body {
24 line-height: 1;
25}
26
27ol, ul {
28 list-style: none;
29}
30
31blockquote, q {
32 quotes: none;
33}
34
35blockquote:before, blockquote:after,
36q:before, q:after {
37 content: '';
38 content: none;
39}
40
41table {
42 border-collapse: collapse;
43 border-spacing: 0;
44}
45
46/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
47
48html,
49button,
50input,
51select,
52textarea {
53 color: #222;
54}
55
56html {
57 font-size: 1em;
58 line-height: 1.4;
59}
60
61::-moz-selection {
62 background: #b3d4fc;
63 text-shadow: none;
64}
65
4c6644a3
AIC
66hr {
67 display: block;
68 height: 1px;
69 border: 0;
70 border-top: 1px solid #ccc;
71 margin: 1em 0;
72 padding: 0;
73}
74
75audio,
76canvas,
77img,
78video {
79 vertical-align: middle;
80}
81
82fieldset {
83 border: 0;
84 margin: 0;
85 padding: 0;
86}
87
88textarea {
89 resize: vertical;
90}
91
92
93/* ==========================================================================
94 Author's custom styles
95 ========================================================================== */
96
97/* Typography
98*/
99
100
101@font-face {
102 font-family: 'Dosis';
427d60b2 103 src: local('Dosis'), url('../fonts/Dosis/Dosis-ExtraLight.ttf') format('truetype');
4c6644a3
AIC
104}
105
be2f695d
AIC
106@font-face {
107 font-family: 'Dosis EBold';
cc009e35 108 src: local('Dosis EBold'), url('../fonts/Dosis/Dosis-ExtraBold.ttf') format('truetype');
be2f695d
AIC
109}
110
111
4c6644a3
AIC
112@font-face {
113 font-family: 'Signika Light';
114 src: local('Signika Light'), url('../fonts/Signika/Signika-Light.ttf') format('truetype');
115}
116
117@font-face {
675698a7
AIC
118 font-family: 'Signika Semmibold';
119 src: local('Signika Semmibold'), url('../fonts/Signika/Signika-Semibold.ttf') format('truetype');
4c6644a3
AIC
120}
121
122
123body {
92e620c6 124 font-family: 'Signika Light', 'DejaVu Sans', Arial, sans-serif;
4c6644a3
AIC
125 font-size: 1.25em;
126 line-height: 1.4;
127}
128
b3272715 129h1 { font-size: 2.75em; font-family: 'Dosis'; }
675698a7
AIC
130h2 { font-size: 2.75em; font-family: 'Dosis'; }
131h3 { font-size: 1.625em; font-family: 'Dosis'; }
132h4 { font-size: 1.375em; font-family: 'Dosis EBold'; color: #4d4d4d; }
133h5 { font-size: 1.25em; font-family: 'Dosis EBold'; color: #4d4d4d; }
134h6 { font-size: 1.125em; font-family: 'Dosis EBold'; color: #4d4d4d; }
135
136h1, h2, h3, h4, h5, h6 {
137 line-height: 1.2;
138 text-transform: uppercase;
139 letter-spacing: 1px;
140}
4c6644a3 141
b3272715 142ul.os a.current,
64f08aeb 143.main dt,
4c6644a3
AIC
144.troubleshooting dt,
145strong {
675698a7 146 font-family: 'Signika Semmibold';
92e620c6 147 color: #4d4d4d;
4c6644a3
AIC
148}
149
92e620c6 150.main > h3 em,
be2f695d 151.troubleshooting h4,
bfb2dd77
AIC
152input[type='submit'],
153input[type='reset'] {
be2f695d
AIC
154 font-family: 'Dosis EBold';
155}
156
03ce4423
AIC
157.step .main p,
158.step .main ul {
92e620c6
AIC
159 font-size: .85em;
160}
161
4c6644a3 162.nav,
f72252f5 163#footer,
be2f695d 164.troubleshooting h4,
4c6644a3
AIC
165small {
166 font-size: 0.75em;
167}
168
f72252f5 169.troubleshooting dl {
4c6644a3
AIC
170 font-size: 0.85em;
171}
172
be2f695d
AIC
173#header #fsf-intro {
174 font-size: .7em;
f72252f5
AIC
175}
176
1e5b871d
DT
177.fsf-emphasis {
178 font-size: 125%;
179}
be2f695d 180
4c6644a3
AIC
181/* Colours
182*/
183
184body {
185 background: #f4eed7;
186}
187
bfb2dd77
AIC
188a,
189a > img + strong {
4c6644a3
AIC
190 color: #2f5faa;
191 text-decoration: none;
192}
193
bfb2dd77
AIC
194a:hover, a:focus,
195a:hover > img + strong,
196a:focus > img + strong {
64f08aeb
AIC
197 color: #0e3878;
198}
199
03ce4423
AIC
200/* Guide Sections Background */
201/* Blue*/
f72252f5
AIC
202#section1,
203#section3,
204#section5,
6e72d71f 205#footer { background: #dcdfe5; }
4c6644a3 206
03ce4423
AIC
207
208/* Yellow */
f72252f5
AIC
209#section2,
210#section4,
6e72d71f 211#section6 { background: #f4eed7; }
4c6644a3
AIC
212
213
214/* Layout
215*/
216
217.row:before, .row:after {
218 content: " ";
219 display: table;
220}
221
222*, *:before, *:after {
223 -moz-box-sizing: border-box;
224}
225
226.row:after {
227 clear: both;
228}
229
230.row {
231 margin: 0;
f72252f5 232 padding: 2em 0;
4c6644a3
AIC
233}
234
235.row > div {
236 width: 96%;
237 margin: 0 auto;
f72252f5 238 padding: .5em 0;
4c6644a3
AIC
239}
240
241.nav > div {
242 width: 96%;
243 margin: 0 auto;
244}
245
246.nav li {
247 text-transform: uppercase;
248 display: inline-block;
249}
250
251.nav li a {
252 display: block;
253 padding: .5em;
254}
255
bfb2dd77
AIC
256/* Header
257*/
258
f72252f5 259#header > div {
4c6644a3
AIC
260 width: 96%;
261 clear: both;
262 margin: 0 auto;
cdbd9b92 263 padding: 0 0 1em;
4c6644a3
AIC
264}
265
be2f695d
AIC
266#header h1 {
267 line-height: 1;
268}
269
b3272715 270#header ul.os {
e6f87dde
DT
271 line-height: 1;
272 margin: .5em 0 2em;
273 padding: 0 0 .25em;
274 border-bottom: 1px solid #94b3e2;
275 font-size: 1.25em;
b3272715
AIC
276}
277
278#header ul.os li {
279 text-transform: uppercase;
280 display: inline-block;
281}
282
283#header ul.os li a {
284 display: block;
285 padding: .25em;
286}
287
e2732ce8 288#header ul.os .spacer {
e6f87dde 289 padding: .25em 0 .25em 2em;
92f9b7d8
AIC
290}
291
bfb2dd77 292#header #infographic {
55e415f1
AIC
293 float: left;
294 display: block;
bfb2dd77
AIC
295 background: #fff;
296 border-radius: 3px;
55e415f1
AIC
297 margin: 0 1em .5em 0;
298 padding: .5em;
299 width: 250px;
bfb2dd77
AIC
300}
301
bfb2dd77 302
bfb2dd77 303#header #infographic img {
55e415f1 304 display: inline-block;
bfb2dd77
AIC
305 width: 100%;
306}
307
be2f695d
AIC
308#header > div > .intro p {
309 margin: 0 0 0.75em;
4c6644a3
AIC
310}
311
92e620c6
AIC
312.section-intro {
313 padding-bottom: 1.5em;
314 border-bottom: 1px solid #5f8dd3;
cdbd9b92 315 margin-bottom: 2em;
92e620c6
AIC
316}
317
e5958174
AIC
318.section-intro p {
319 margin: 0.5em 3.5em;
320}
321
92e620c6
AIC
322.section-intro h2,
323.sidebar h2 {
324 margin: 0 0 .5em;
325}
326
327.section-intro h2 {
328 text-align: center;
329}
330
331.section-intro h2 em,
332.sidebar h2 em {
333 color: #94b3e2;
334}
335
336.step {
337 padding: .5em 0;
338}
339
4c6644a3
AIC
340.intro p,
341.main p {
342 margin: 0.5em 0;
343}
344
345 .main p:first-child { margin: 0 0 0.5em ; }
346
8e57104a 347.main p.notes {
b98adc79 348 color: #999;
8e57104a
AIC
349}
350
4c6644a3
AIC
351.main h3 {
352 margin: 1em 0 0.5em;
92e620c6
AIC
353 padding-left:.5em;
354 border-left: 8px solid #ff9b12;
4c6644a3
AIC
355}
356
357.main h3:first-child { margin: 0 0 0.5em; }
358
f72252f5
AIC
359.main > h3 em {
360 color: #94b3e2;
92e620c6 361 display: block;
f72252f5
AIC
362}
363
4c6644a3
AIC
364.main,
365.sidebar {
366 margin: 1em 0 0.5em;
367}
368
03ce4423
AIC
369.main ul li {
370 margin: .5em 0;
4c6644a3
AIC
371}
372
e8ebaf04 373/* Images
03ce4423
AIC
374*/
375
e8ebaf04 376ul.images:before, ul.images:after {
03ce4423
AIC
377 content: " ";
378 display: table;
379}
380
e8ebaf04 381ul.images:after {
03ce4423
AIC
382 clear: both;
383}
384
e8ebaf04 385ul.images {
03ce4423
AIC
386 padding: 0.5em 0;
387}
388
e8ebaf04
AIC
389ul.images li {
390 margin-bottom: 1em;
391}
392
393ul.images li > img {
394 width: 100%;
395 max-width: 600px;
396 height: auto;
397}
398
399.sidebar > p > img {
400 width: 100%;
401 max-width: 600px;
402 height: auto;
403}
404
e2732ce8 405/* Troubleshooting panel and dropdown */
bcf35a0d 406
4c6644a3 407.troubleshooting {
e2732ce8 408 margin-top: .8em;
4c6644a3
AIC
409}
410
e2732ce8
DT
411.dropdown > h4 {
412 font-size: .85em;
e6f87dde 413 width: 180px;
e2732ce8 414 text-align: center;
0e9fe97e
DT
415 display: inline-block;
416 cursor: pointer;
417 letter-spacing: 2px;
418 padding: .25em .5em;
419 color: #2f5faa;
420 border: 1px solid #5f8dd3;
421 border-radius: 3px;
f72252f5
AIC
422}
423
e6f87dde
DT
424.dropdown ul {
425 position: absolute;
426 width: 180px;
427 text-align: center;
428 background: #f4eed7;
429 font-size: .85em;
430}
431
63a674e8
DT
432#menu .dropdown ul li {
433 display: block;
434}
435
0e9fe97e 436.troubleshooting > h4 {
e2732ce8
DT
437 display: inline-block;
438 cursor: pointer;
439 letter-spacing: 2px;
440 padding: .25em .5em;
441 color: #2f5faa;
442 opacity: .5;
443 border: 1px solid #5f8dd3;
444 border-radius: 3px;
f72252f5
AIC
445}
446
e2732ce8 447.troubleshooting > h4:hover,
0e9fe97e 448.troubleshooting > h4.expanded {
e2732ce8 449 opacity: 1;
4c6644a3
AIC
450}
451
e2732ce8
DT
452.troubleshooting > h4.expanded,
453.dropdown > h4.expanded {
454 border-bottom: 0;
455 border-radius: 3px 3px 0 0;
456}
bcf35a0d 457
e2732ce8
DT
458.troubleshooting > h4:after,
459.dropdown > h4:after {
460 content:' â–¾';
461 display: inline-block;
bcf35a0d 462 line-height: 1;
e2732ce8 463 padding: 0 0.2em;
bcf35a0d
AIC
464 vertical-align: top;
465}
466
e2732ce8
DT
467.troubleshooting > h4.expanded:after,
468.dropdown > h4.expanded:after {
469 content:' â–´';
470 display: inline-block;
bcf35a0d 471 line-height: 1;
e2732ce8 472 padding: 0 0.2em;
bcf35a0d
AIC
473 vertical-align: top;
474}
475
e2732ce8
DT
476.troubleshooting dl,
477.dropdown ul {
478 padding: .5em;
479 border: 1px solid #5f8dd3;
480 border-radius: 0 3px 3px;
bcf35a0d
AIC
481}
482
483.main dt,
484.troubleshooting dt {
e2732ce8 485 margin-top: 1em;
bcf35a0d
AIC
486}
487
488.main dt:first-child,
489.troubleshooting dt:first-child {
490 margin-top: 0;
4c6644a3
AIC
491}
492
675698a7
AIC
493.troubleshooting dt.feedback,
494.troubleshooting dd.feedback {
495 display: inline-block;
496}
497
bfb2dd77 498/* Form elements: newsletter + pgp pathfinder
be2f695d
AIC
499*/
500
bfb2dd77 501input {
be2f695d
AIC
502 -webkit-transition: all 0.1s linear;
503 -moz-transition: all 0.1s linear;
504 -o-transition: all 0.1s linear;
505 transition: all 0.1s linear;
506}
507
bfb2dd77
AIC
508input[type='text'],
509input[type='submit'],
510input[type='reset'] {
be2f695d
AIC
511 line-height: 1;
512 vertical-align: bottom;
513}
514
bfb2dd77 515input[type='text'] {
be2f695d 516 border: none;
be2f695d
AIC
517 border-radius: 3px;
518 border: .1em solid #5f8dd3;
be2f695d
AIC
519 padding: .2em .65em;
520 background: #fff;
521 color: #666;
522}
523
bfb2dd77
AIC
524input[type='text']:focus,
525input[type='text']:hover {
be2f695d
AIC
526 border-color: #2f5faa;
527 outline: none;
528 color: #333333;
529}
530
bfb2dd77
AIC
531input[type='submit'],
532input[type='reset'] {
be2f695d
AIC
533 border: none;
534 cursor: pointer;
535 text-transform: uppercase;
536 letter-spacing: 2px;
537 color: #fff;
be2f695d 538 padding: .5em 1em;
be2f695d
AIC
539 border-radius: 3px;
540 background-color: #5f8dd3;
541}
542
bfb2dd77
AIC
543input[type='submit']:focus,
544input[type='submit']:hover,
545input[type='reset']:focus,
546input[type='reset']:hover {
be2f695d
AIC
547 background-color: #2f5faa;
548 outline: none;
549}
550
bfb2dd77
AIC
551/* FSF Introduction, before the header + Newsletter form
552*/
553
554#fsf-intro h3,
555#fsf-intro p {
556 margin-bottom: 1em;
557}
558
bde9d0e2
AIC
559#fsf-intro h3 a {
560 display: block;
561 max-width: 283px;
562}
563
564#fsf-intro h3 img {
565 width: 100%;
566}
567
bfb2dd77
AIC
568.newsletter input[type='text'],
569.newsletter input[type='submit'] {
570 font-size: .75em;
571}
572
573.newsletter input[type='text'] {
574 height: 3em;
575 width: 16em;
576 padding: .2em .65em;
bde9d0e2 577 margin-bottom: .5em;
bfb2dd77
AIC
578}
579
580.newsletter input[type='submit'] {
581 height: 3.1em;
582 padding: .5em 1em;
583 margin-left: 5px;
584 background-color: #5f8dd3;
bde9d0e2 585 margin-bottom: .5em;
bfb2dd77
AIC
586}
587
675698a7
AIC
588#fsf-intro .newsletter form + p {
589 margin: .25em 0 0;
675698a7
AIC
590}
591
bfb2dd77
AIC
592/* PGP pathfinder
593*/
594
595#pgp-pathfinder {
596 background: #fff;
597 border: 1px solid #94b3e2;
598 border-radius: 3px;
599}
600
601#pgp-pathfinder form {
602 margin: 1em;
603}
604
605#pgp-pathfinder strong {
606 display: inline-block;
607 width: 4em;
608}
609
610#pgp-pathfinder input {
611 font-size: .75em;
612}
613
614#pgp-pathfinder input[type='text'] {
615 height: 3em;
616 width: 22em;
617 padding: .2em .65em;
618}
619
620#pgp-pathfinder input[type='submit'],
621#pgp-pathfinder input[type='reset'] {
622 padding: .5em 1em;
623 margin-left: 5px;
624 background-color: #5f8dd3;
625}
626
627#pgp-pathfinder .buttons {
628 margin-left: 4em;
629}
630
bcf35a0d
AIC
631/* Footer
632*/
633
675698a7
AIC
634#footer h4 {
635 margin-bottom: .75em;
bcf35a0d
AIC
636}
637
ee7b6d56
AIC
638#footer .credits {
639 border-top: 1px solid #94b3e2;
640 margin-top: 1em;
641 padding-top: .5em;
642}
643
c2a4fede
AIC
644#footer #copyright p {
645 margin-bottom: .5em;
646}
647
648/* Infographics page
649*/
650
651.centered > * {
652 text-align: center;
653}
654
655.centered h3 {
656 border-bottom: 1px solid #94b3e2;
657 margin: .65em 0;
658 padding: 0 0 .65em;
659}
660
8e57104a 661.centered p {
c2a4fede
AIC
662 margin: .65em 0;
663}
664
665
4c6644a3
AIC
666
667/* ==========================================================================
668 Media Queries
669 ========================================================================== */
670
671@media only screen and (min-width: 400px) {
672
4c6644a3
AIC
673}
674
bfb2dd77 675@media only screen and (min-width: 400px) and (max-width: 599px) {
4c6644a3
AIC
676
677 .row > div,
678 .nav > div,
f72252f5 679 #header > div {
4c6644a3
AIC
680 width: 92%;
681 margin: 0 auto;
682 }
683
649767ee
AIC
684 #header ul.os .share {
685 display: block;
686 padding: .25em 0;
687 }
688
9510ea2c
AIC
689 #header #fsf-intro {
690 margin-bottom: 1em;
691 padding-bottom: 1em;
692 border-bottom: 1px solid #ff9b12;
693 }
694
bfb2dd77
AIC
695 .section-intro p {
696 margin: 0.5em 0;
697 }
698
4c6644a3
AIC
699}
700
bfb2dd77
AIC
701
702@media only screen and (min-width: 600px) {}
703
4c6644a3
AIC
704@media only screen and (min-width: 600px) and (max-width: 899px) {
705
bfb2dd77
AIC
706 #header .intro {
707 float: right;
708 width: 100%;
bfb2dd77
AIC
709 }
710
711 #header #fsf-intro {
712 float: left;
713 width: 100%;
bde9d0e2
AIC
714 padding-left: 0;
715 border-left: 0;
649767ee
AIC
716 margin-bottom: 1em;
717 padding-bottom: 1em;
718 border-bottom: 1px solid #ff9b12;
bfb2dd77
AIC
719 }
720
4c6644a3
AIC
721}
722
723@media only screen and (min-width: 900px) {
724
725 .row > div,
726 .nav > div,
f72252f5 727 #header > div {
4c6644a3
AIC
728 width: 86%;
729 }
730
731 .nav > div {
bcf35a0d 732 overflow: hidden;
4c6644a3 733 position: relative;
be2f695d 734 padding: 0.35em 0 0;
4c6644a3
AIC
735 }
736
4c6644a3 737 .nav ul.lang {
4c6644a3
AIC
738 margin: 0 0 0 0.5em;
739 }
740
f72252f5 741 #header h1 {
be2f695d 742 font-size: 6em;
b3272715
AIC
743 text-align: center;
744 }
745
746 #header ul.os {
747 text-align: center;
4c6644a3
AIC
748 }
749
be2f695d
AIC
750 #header .intro {
751 float: left;
55e415f1 752 width: 66%;
bfb2dd77 753 margin-right: 1.72%;
4c6644a3
AIC
754 }
755
be2f695d
AIC
756 #header #fsf-intro {
757 float: right;
bfb2dd77 758 width: 29.52%;
be2f695d
AIC
759 padding-left: 1.72%;
760 border-left: 8px solid #ff9b12;
4c6644a3
AIC
761 }
762
be2f695d
AIC
763 .row > div,
764 #header > div,
765 .row > div .section-intro,
64f08aeb
AIC
766 .row > div .step,
767 #footer > div {
be2f695d 768 overflow: hidden;
4c6644a3
AIC
769 }
770
03ce4423 771 .row .sidebar { /* 3 columns 125px + 20px margins*/
4c6644a3
AIC
772 float: left;
773 clear: left;
be2f695d 774 width: 34.05%;
4c6644a3
AIC
775 }
776
03ce4423 777 .row .main { /* 5 columns 125px + 100px margins*/
4c6644a3 778 float: right;
be2f695d
AIC
779 width: 62.5%;
780 margin-left: 1.72%;
4c6644a3
AIC
781 }
782
9510ea2c
AIC
783 .sidebar ul.images li {
784 display: inline-block;
785 float: left;
786 width: 47%;
cdbd9b92 787 margin: 0 3% 1em 0;
9510ea2c
AIC
788 }
789
b3272715 790 .sidebar ul.images li:nth-child(n) {
cdbd9b92 791 margin: 0 0 0 3%;
b3272715
AIC
792 }
793
794 .sidebar ul.images li:nth-child(2n+1) {
cdbd9b92
AIC
795 clear: left;
796 margin: 0 3% 1em 0;
b3272715
AIC
797 }
798
799 .sidebar ul.images li > img {
800 width: 100%;
801 height: auto;
802 }
803
804 .row .sidebar > p > img {
9510ea2c
AIC
805 width: 80%;
806 height: auto;
4c6644a3
AIC
807 }
808
4c6644a3
AIC
809
810
e2732ce8 811}