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