Added screenshot for step 1b.
[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 Bold';
119 src: local('Signika Bold'), url('../fonts/Signika/Signika-Bold.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; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5em; }
130 h2 { font-size: 2.75em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; }
131 h3 { font-size: 1.625em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; }
132 h4 { font-size: 1.375em; line-height: 1.2; font-family: 'Dosis EBold'; color: #4d4d4d; text-transform: uppercase; letter-spacing: 1px; }
133 h5 { font-size: 1.25em; line-height: 1.2; font-family: 'Dosis EBold'; color: #4d4d4d; text-transform: uppercase; letter-spacing: 1px; }
134 h6 { font-size: 1.125em; line-height: 1.2; font-family: 'Dosis EBold'; color: #4d4d4d; text-transform: uppercase; letter-spacing: 1px; }
135
136 .nav .os a.current,
137 .main .highlight p,
138 .main p.highlight,
139 .main dt,
140 .troubleshooting dt,
141 strong {
142 font-family: 'Signika Bold';
143 color: #4d4d4d;
144 }
145
146 .main > h3 em,
147 .highlight h4,
148 .troubleshooting h4,
149 .newsletter input[type='submit'] {
150 font-family: 'Dosis EBold';
151 }
152
153 .step .main p {
154 font-size: .85em;
155 }
156
157 .nav,
158 #footer,
159 .troubleshooting h4,
160 small {
161 font-size: 0.75em;
162 }
163
164 .troubleshooting dl {
165 font-size: 0.85em;
166 }
167
168 #header .intro {
169 font-size: 1.1em;
170 }
171
172 #header #fsf-intro {
173 font-size: .7em;
174 }
175
176
177
178 /* Colours
179 */
180
181 body {
182 background: #f4eed7;
183 }
184
185 a {
186 color: #2f5faa;
187 text-decoration: none;
188 }
189
190 a:hover, a:focus {
191 color: #0e3878;
192 }
193
194 #section1,
195 #section3,
196 #section5,
197 #faq { background: #dcdfe5; }
198
199 #section2,
200 #section4,
201 #section6,
202 #footer { background: #f4eed7; }
203
204
205 /* Layout
206 */
207
208 .row:before, .row:after {
209 content: " ";
210 display: table;
211 }
212
213 *, *:before, *:after {
214 -moz-box-sizing: border-box;
215 }
216
217 .row:after {
218 clear: both;
219 }
220
221 .row {
222 margin: 0;
223 padding: 2em 0;
224 }
225
226 .row > div {
227 width: 96%;
228 margin: 0 auto;
229 padding: .5em 0;
230 }
231
232 .nav > div {
233 width: 96%;
234 margin: 0 auto;
235 }
236
237 .nav li {
238 text-transform: uppercase;
239 display: inline-block;
240 }
241
242 .nav li a {
243 display: block;
244 padding: .5em;
245 }
246
247 #header > div {
248 width: 96%;
249 clear: both;
250 margin: 0 auto;
251 padding: 1em 0;
252 }
253
254 #header h1 {
255 line-height: 1;
256 }
257
258 #header h1 a {
259 display: block;
260 }
261
262 #header > div > .intro p {
263 margin: 0 0 0.75em;
264 }
265
266 .section-intro {
267 padding-bottom: 1.5em;
268 border-bottom: 1px solid #5f8dd3;
269 margin-bottom: 2em:
270 }
271
272 .section-intro h2,
273 .sidebar h2 {
274 margin: 0 0 .5em;
275 }
276
277 .section-intro h2 {
278 text-align: center;
279 }
280
281 .section-intro h2 em,
282 .sidebar h2 em {
283 color: #94b3e2;
284 }
285
286 .step {
287 padding: .5em 0;
288 }
289
290 .section-intro p,
291 .intro p,
292 .main p {
293 margin: 0.5em 0;
294 }
295
296 .main p:first-child { margin: 0 0 0.5em ; }
297
298 .main h3 {
299 margin: 1em 0 0.5em;
300 padding-left:.5em;
301 border-left: 8px solid #ff9b12;
302 }
303
304 .main h3:first-child { margin: 0 0 0.5em; }
305
306 .main > h3 em {
307 color: #94b3e2;
308 display: block;
309 }
310
311 .main,
312 .sidebar {
313 margin: 1em 0 0.5em;
314 }
315
316 .main .highlight h4 {
317 color: #5f8dd3;
318 margin: .5em 0 0;
319 border-bottom: .5em solid #5f8dd3;
320 }
321
322 .main .highlight h4 + p {
323 margin: 0 0 .5em;
324 }
325
326
327
328 /* Troubleshooting panel
329 */
330
331 .troubleshooting {
332 margin-top: .8em;
333 }
334
335 .troubleshooting > h4 {
336 display: inline-block;
337 cursor: pointer;
338 letter-spacing: 2px;
339 padding: .25em .5em;
340 color: #2f5faa;
341 opacity: .5;
342 border: 1px solid #5f8dd3;
343 border-radius: 3px;
344 }
345
346 .troubleshooting > h4:hover,
347 .troubleshooting > h4.expanded {
348 opacity: 1;
349 }
350
351 .troubleshooting > h4.expanded {
352 border-bottom: 0;
353 border-radius: 3px 3px 0 0;
354 }
355
356
357 .troubleshooting > h4:after {
358 content:' ▾';
359 display: inline-block;
360 line-height: 1;
361 padding: 0 0.2em;
362 vertical-align: top;
363 }
364
365 .troubleshooting > h4.expanded:after {
366 content:' ▴';
367 display: inline-block;
368 line-height: 1;
369 padding: 0 0.2em;
370 vertical-align: top;
371 }
372
373 .troubleshooting dl {
374 display: none;
375 padding: .5em;
376 border: 1px solid #5f8dd3;
377 border-radius: 0 3px 3px;
378 }
379
380 .main dt,
381 .troubleshooting dt {
382 margin-top: 1em;
383 }
384
385 .main dt:first-child,
386 .troubleshooting dt:first-child {
387 margin-top: 0;
388 }
389
390 /* FSF Introduction, before the header + Newsletter form
391 */
392
393 #fsf-intro h3,
394 #fsf-intro p {
395 margin-bottom: 1em;
396 }
397
398 .newsletter input {
399 -webkit-transition: all 0.1s linear;
400 -moz-transition: all 0.1s linear;
401 -o-transition: all 0.1s linear;
402 transition: all 0.1s linear;
403 }
404
405 .newsletter input[type='text'],
406 .newsletter input[type='submit'] {
407 font-size: .75em;
408 line-height: 1;
409 vertical-align: bottom;
410 }
411
412 .newsletter input[type='text'] {
413 border: none;
414 height: 3em;
415 border-radius: 3px;
416 border: .1em solid #5f8dd3;
417 width: 16em;
418 padding: .2em .65em;
419 background: #fff;
420 color: #666;
421 }
422
423 .newsletter input[type='text']:focus,
424 .newsletter input[type='text']:hover {
425 border-color: #2f5faa;
426 outline: none;
427 color: #333333;
428 }
429
430 .newsletter input[type='submit'] {
431 border: none;
432 cursor: pointer;
433 text-transform: uppercase;
434 letter-spacing: 2px;
435 color: #fff;
436 height: 3.1em;
437 padding: .5em 1em;
438 margin-left: 5px;
439 border-radius: 3px;
440 background-color: #5f8dd3;
441 }
442
443 .newsletter input[type='submit']:focus,
444 .newsletter input[type='submit']:hover {
445 background-color: #2f5faa;
446 outline: none;
447 }
448
449 /* Footer
450 */
451
452 #footer #copyright h4 {
453 margin-bottom: 1em;
454 }
455
456
457 /* ==========================================================================
458 Media Queries
459 ========================================================================== */
460
461 @media only screen and (min-width: 400px) {
462
463 }
464
465 @media only screen and (min-width: 400px) and (max-width: 599px) {
466
467 }
468
469
470 @media only screen and (min-width: 600px) {
471
472 .row > div,
473 .nav > div,
474 #header > div {
475 width: 92%;
476 margin: 0 auto;
477 }
478
479 }
480
481 @media only screen and (min-width: 600px) and (max-width: 899px) {
482
483 }
484
485 @media only screen and (min-width: 900px) {
486
487 .row > div,
488 .nav > div,
489 #header > div {
490 width: 86%;
491 }
492
493 .nav > div {
494 overflow: hidden;
495 position: relative;
496 padding: 0.35em 0 0;
497 }
498
499 .nav ul.os {
500 display: inline-block;
501 margin: 0 2em 0 0;
502 }
503
504 .nav ul.lang {
505 display: inline-block;
506 margin: 0 0 0 0.5em;
507 float: right;
508 }
509
510 #header h1 {
511 font-size: 6em;
512 }
513
514 #header .intro {
515 float: left;
516 width: 62.5%;
517 }
518
519 #header #fsf-intro {
520 float: right;
521 width: 34.05%;
522 padding-left: 1.72%;
523 border-left: 8px solid #ff9b12;
524 }
525
526 .row > div,
527 #header > div,
528 .row > div .section-intro,
529 .row > div .step,
530 #footer > div {
531 overflow: hidden;
532 }
533
534 .row .sidebar,
535 #footer #contribute { /* 3 columns 125px + 20px margins*/
536 float: left;
537 clear: left;
538 width: 34.05%;
539 }
540
541 .row .main,
542 #footer #copyright { /* 5 columns 125px + 100px margins*/
543 float: right;
544 width: 62.5%;
545 margin-left: 1.72%;
546 }
547
548 .row .sidebar img {
549 width: 100%;
550 }
551
552 }
553
554