Changed size 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 small {
166 font-size: 0.75em;
167 }
168
169 .troubleshooting dl {
170 font-size: 0.85em;
171 }
172
173 #header .intro {
174 font-size: 1.1em;
175 }
176
177 #header .intro > #infographic {
178 font-size: .75em;
179 }
180
181 #header #fsf-intro {
182 font-size: .7em;
183 }
184
185
186
187 /* Colours
188 */
189
190 body {
191 background: #f4eed7;
192 }
193
194 a,
195 a > img + strong {
196 color: #2f5faa;
197 text-decoration: none;
198 }
199
200 a:hover, a:focus,
201 a:hover > img + strong,
202 a:focus > img + strong {
203 color: #0e3878;
204 }
205
206 /* Guide Sections Background */
207 /* Blue*/
208 #section1,
209 #section3,
210 #section5,
211 #footer { background: #dcdfe5; }
212
213
214 /* Yellow */
215 #section2,
216 #section4,
217 #section6 { background: #f4eed7; }
218
219
220 /* Layout
221 */
222
223 .row:before, .row:after {
224 content: " ";
225 display: table;
226 }
227
228 *, *:before, *:after {
229 -moz-box-sizing: border-box;
230 }
231
232 .row:after {
233 clear: both;
234 }
235
236 .row {
237 margin: 0;
238 padding: 2em 0;
239 }
240
241 .row > div {
242 width: 96%;
243 margin: 0 auto;
244 padding: .5em 0;
245 }
246
247 .nav > div {
248 width: 96%;
249 margin: 0 auto;
250 }
251
252 .nav li {
253 text-transform: uppercase;
254 display: inline-block;
255 }
256
257 .nav li a {
258 display: block;
259 padding: .5em;
260 }
261
262 /* Header
263 */
264
265 #header > div {
266 width: 96%;
267 clear: both;
268 margin: 0 auto;
269 padding: 0 0 1em;
270 }
271
272 #header h1 {
273 line-height: 1;
274 }
275
276 #header ul.os {
277 line-height: 1;
278 margin: .5em 0 2em;
279 padding: 0 0 .25em;
280 border-bottom: 1px solid #94b3e2;
281 }
282
283 #header ul.os li {
284 text-transform: uppercase;
285 display: inline-block;
286 }
287
288 #header ul.os li a {
289 display: block;
290 padding: .25em;
291 }
292
293 #header #infographic {
294 background: #fff;
295 border-radius: 3px;
296 margin-bottom: 0;
297 }
298
299 #header #infographic a {
300 display: block;
301 margin: .5em;
302 }
303
304 #header #infographic img {
305 display: block;
306 width: 100%;
307 }
308
309 #header > div > .intro p {
310 margin: 0 0 0.75em;
311 }
312
313 .section-intro {
314 padding-bottom: 1.5em;
315 border-bottom: 1px solid #5f8dd3;
316 margin-bottom: 2em;
317 }
318
319 .section-intro p {
320 margin: 0.5em 3.5em;
321 }
322
323 .section-intro h2,
324 .sidebar h2 {
325 margin: 0 0 .5em;
326 }
327
328 .section-intro h2 {
329 text-align: center;
330 }
331
332 .section-intro h2 em,
333 .sidebar h2 em {
334 color: #94b3e2;
335 }
336
337 .step {
338 padding: .5em 0;
339 }
340
341 .intro p,
342 .main p {
343 margin: 0.5em 0;
344 }
345
346 .main p:first-child { margin: 0 0 0.5em ; }
347
348 .main p.notes {
349 color: #333;
350 }
351
352 .main h3 {
353 margin: 1em 0 0.5em;
354 padding-left:.5em;
355 border-left: 8px solid #ff9b12;
356 }
357
358 .main h3:first-child { margin: 0 0 0.5em; }
359
360 .main > h3 em {
361 color: #94b3e2;
362 display: block;
363 }
364
365 .main,
366 .sidebar {
367 margin: 1em 0 0.5em;
368 }
369
370 .main ul li {
371 margin: .5em 0;
372 }
373
374 /* Images inside .main
375 */
376
377 .main ul.images:before, .main ul.images:after {
378 content: " ";
379 display: table;
380 }
381
382 .main ul.images:after {
383 clear: both;
384 }
385
386 .main ul.images {
387 padding: 0.5em 0;
388 }
389
390
391 /* Troubleshooting panel
392 */
393
394 .troubleshooting {
395 margin-top: .8em;
396 }
397
398 .troubleshooting > h4 {
399 display: inline-block;
400 cursor: pointer;
401 letter-spacing: 2px;
402 padding: .25em .5em;
403 color: #2f5faa;
404 opacity: .5;
405 border: 1px solid #5f8dd3;
406 border-radius: 3px;
407 }
408
409 .troubleshooting > h4:hover,
410 .troubleshooting > h4.expanded {
411 opacity: 1;
412 }
413
414 .troubleshooting > h4.expanded {
415 border-bottom: 0;
416 border-radius: 3px 3px 0 0;
417 }
418
419
420 .troubleshooting > h4:after {
421 content:' â–¾';
422 display: inline-block;
423 line-height: 1;
424 padding: 0 0.2em;
425 vertical-align: top;
426 }
427
428 .troubleshooting > h4.expanded:after {
429 content:' â–´';
430 display: inline-block;
431 line-height: 1;
432 padding: 0 0.2em;
433 vertical-align: top;
434 }
435
436 .troubleshooting dl {
437 display: none;
438 padding: .5em;
439 border: 1px solid #5f8dd3;
440 border-radius: 0 3px 3px;
441 }
442
443 .main dt,
444 .troubleshooting dt {
445 margin-top: 1em;
446 }
447
448 .main dt:first-child,
449 .troubleshooting dt:first-child {
450 margin-top: 0;
451 }
452
453 .troubleshooting dt.feedback,
454 .troubleshooting dd.feedback {
455 display: inline-block;
456 }
457
458 /* Form elements: newsletter + pgp pathfinder
459 */
460
461 input {
462 -webkit-transition: all 0.1s linear;
463 -moz-transition: all 0.1s linear;
464 -o-transition: all 0.1s linear;
465 transition: all 0.1s linear;
466 }
467
468 input[type='text'],
469 input[type='submit'],
470 input[type='reset'] {
471 line-height: 1;
472 vertical-align: bottom;
473 }
474
475 input[type='text'] {
476 border: none;
477 border-radius: 3px;
478 border: .1em solid #5f8dd3;
479 padding: .2em .65em;
480 background: #fff;
481 color: #666;
482 }
483
484 input[type='text']:focus,
485 input[type='text']:hover {
486 border-color: #2f5faa;
487 outline: none;
488 color: #333333;
489 }
490
491 input[type='submit'],
492 input[type='reset'] {
493 border: none;
494 cursor: pointer;
495 text-transform: uppercase;
496 letter-spacing: 2px;
497 color: #fff;
498 padding: .5em 1em;
499 border-radius: 3px;
500 background-color: #5f8dd3;
501 }
502
503 input[type='submit']:focus,
504 input[type='submit']:hover,
505 input[type='reset']:focus,
506 input[type='reset']:hover {
507 background-color: #2f5faa;
508 outline: none;
509 }
510
511 /* FSF Introduction, before the header + Newsletter form
512 */
513
514 #fsf-intro h3,
515 #fsf-intro p {
516 margin-bottom: 1em;
517 }
518
519 .newsletter input[type='text'],
520 .newsletter input[type='submit'] {
521 font-size: .75em;
522 }
523
524 .newsletter input[type='text'] {
525 height: 3em;
526 width: 16em;
527 padding: .2em .65em;
528 }
529
530 .newsletter input[type='submit'] {
531 height: 3.1em;
532 padding: .5em 1em;
533 margin-left: 5px;
534 background-color: #5f8dd3;
535 }
536
537 #fsf-intro .newsletter form + p {
538 margin: .25em 0 0;
539 }
540
541 /* PGP pathfinder
542 */
543
544 #pgp-pathfinder {
545 background: #fff;
546 border: 1px solid #94b3e2;
547 border-radius: 3px;
548 }
549
550 #pgp-pathfinder form {
551 margin: 1em;
552 }
553
554 #pgp-pathfinder strong {
555 display: inline-block;
556 width: 4em;
557 }
558
559 #pgp-pathfinder input {
560 font-size: .75em;
561 }
562
563 #pgp-pathfinder input[type='text'] {
564 height: 3em;
565 width: 22em;
566 padding: .2em .65em;
567 }
568
569 #pgp-pathfinder input[type='submit'],
570 #pgp-pathfinder input[type='reset'] {
571 padding: .5em 1em;
572 margin-left: 5px;
573 background-color: #5f8dd3;
574 }
575
576 #pgp-pathfinder .buttons {
577 margin-left: 4em;
578 }
579
580 /* Footer
581 */
582
583 #footer h4 {
584 margin-bottom: .75em;
585 }
586
587 #footer .credits {
588 border-top: 1px solid #94b3e2;
589 margin-top: 1em;
590 padding-top: .5em;
591 }
592
593 #footer #copyright p {
594 margin-bottom: .5em;
595 }
596
597 /* Infographics page
598 */
599
600 .centered > * {
601 text-align: center;
602 }
603
604 .centered h3 {
605 border-bottom: 1px solid #94b3e2;
606 margin: .65em 0;
607 padding: 0 0 .65em;
608 }
609
610 .centered p {
611 margin: .65em 0;
612 }
613
614
615
616 /* ==========================================================================
617 Media Queries
618 ========================================================================== */
619
620 @media only screen and (min-width: 400px) {
621
622 }
623
624 @media only screen and (min-width: 400px) and (max-width: 599px) {
625
626 .row > div,
627 .nav > div,
628 #header > div {
629 width: 92%;
630 margin: 0 auto;
631 }
632
633 #header #fsf-intro {
634 margin-bottom: 1em;
635 padding-bottom: 1em;
636 border-bottom: 1px solid #ff9b12;
637 }
638
639 #header .intro {
640 font-size: 1em;
641 }
642
643 #header #infographic {
644 margin-bottom: 1.5em;
645 }
646
647 #header #infographic a {
648 height: 200px;
649 overflow: hidden;
650 }
651
652 .section-intro p {
653 margin: 0.5em 0;
654 }
655
656 }
657
658
659 @media only screen and (min-width: 600px) {}
660
661 @media only screen and (min-width: 600px) and (max-width: 899px) {
662
663 #header .intro {
664 float: right;
665 width: 100%;
666 margin-right: 02.22%;
667 }
668
669 #header #fsf-intro {
670 float: left;
671 width: 100%;
672 padding-left: 02.22%;
673 border-left: 8px solid #ff9b12;
674 }
675
676 }
677
678 @media only screen and (min-width: 900px) {
679
680 .row > div,
681 .nav > div,
682 #header > div {
683 width: 86%;
684 }
685
686 .nav > div {
687 overflow: hidden;
688 position: relative;
689 padding: 0.35em 0 0;
690 }
691
692 .nav ul.lang {
693 margin: 0 0 0 0.5em;
694 }
695
696 #header h1 {
697 font-size: 6em;
698 text-align: center;
699 }
700
701 #header ul.os {
702 text-align: center;
703 }
704
705 #header .intro {
706 float: left;
707 width: 68.75%;
708 margin-right: 1.72%;
709 }
710
711 #header #infographic {
712 float: left;
713 width: 30.58%;
714 margin-right: 1.72%;
715 }
716
717 #header #fsf-intro {
718 float: right;
719 width: 29.52%;
720 padding-left: 1.72%;
721 border-left: 8px solid #ff9b12;
722 }
723
724 .row > div,
725 #header > div,
726 .row > div .section-intro,
727 .row > div .step,
728 #footer > div {
729 overflow: hidden;
730 }
731
732 .row .sidebar { /* 3 columns 125px + 20px margins*/
733 float: left;
734 clear: left;
735 width: 34.05%;
736 }
737
738 .row .main { /* 5 columns 125px + 100px margins*/
739 float: right;
740 width: 62.5%;
741 margin-left: 1.72%;
742 }
743
744 .sidebar ul.images li {
745 display: inline-block;
746 float: left;
747 width: 47%;
748 margin: 0 3% 1em 0;
749 }
750
751 .sidebar ul.images li:nth-child(n) {
752 margin: 0 0 0 3%;
753 }
754
755 .sidebar ul.images li:nth-child(2n+1) {
756 clear: left;
757 margin: 0 3% 1em 0;
758 }
759
760 .sidebar ul.images li > img {
761 width: 100%;
762 height: auto;
763 }
764
765 .row .sidebar > p > img {
766 width: 80%;
767 height: auto;
768 }
769
770
771
772 }
773
774