/* Eric Meyer's Reset CSS */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, main, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ html, button, input, select, textarea { color: #222; } html { font-size: 1em; line-height: 1.4; } ::-moz-selection { background: #b3d4fc; text-shadow: none; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } audio, canvas, img, video { vertical-align: middle; } fieldset { border: 0; margin: 0; padding: 0; } textarea { resize: vertical; } /* ========================================================================== Author's custom styles ========================================================================== */ /* Typography */ @font-face { font-family: 'Dosis'; src: local('Dosis'), url('../fonts/Dosis/Dosis-ExtraLight.ttf') format('truetype'); } @font-face { font-family: 'Dosis EBold'; src: local('Dosis EBold'), url('../fonts/Dosis/Dosis-ExtraBold.ttf') format('truetype'); } @font-face { font-family: 'Signika Light'; src: local('Signika Light'), url('../fonts/Signika/Signika-Light.ttf') format('truetype'); } @font-face { font-family: 'Signika Semmibold'; src: local('Signika Semmibold'), url('../fonts/Signika/Signika-Semibold.ttf') format('truetype'); } body { font-family: 'Signika Light', 'DejaVu Sans', Arial, sans-serif; font-size: 1.25em; line-height: 1.4; } h1 { font-size: 2.75em; font-family: 'Dosis'; margin-bottom: .5em; } h2 { font-size: 2.75em; font-family: 'Dosis'; } h3 { font-size: 1.625em; font-family: 'Dosis'; } h4 { font-size: 1.375em; font-family: 'Dosis EBold'; color: #4d4d4d; } h5 { font-size: 1.25em; font-family: 'Dosis EBold'; color: #4d4d4d; } h6 { font-size: 1.125em; font-family: 'Dosis EBold'; color: #4d4d4d; } h1, h2, h3, h4, h5, h6 { line-height: 1.2; text-transform: uppercase; letter-spacing: 1px; } .nav .os a.current, .main p.highlight, .main dt, .troubleshooting dt, strong { font-family: 'Signika Semmibold'; color: #4d4d4d; } .main > h3 em, .troubleshooting h4, .newsletter input[type='submit'] { font-family: 'Dosis EBold'; } .step .main p, .step .main ul { font-size: .85em; } .nav, #footer, .troubleshooting h4, small { font-size: 0.75em; } .troubleshooting dl { font-size: 0.85em; } #header .intro { font-size: 1.1em; } #header #fsf-intro { font-size: .7em; } /* Colours */ body { background: #f4eed7; } a { color: #2f5faa; text-decoration: none; } a:hover, a:focus { color: #0e3878; } /* Guide Sections Background */ /* Blue*/ #section1, #section3, #section5, #faq { background: #dcdfe5; } /* Yellow */ #section2, #section4, #section6, #footer { background: #f4eed7; } /* Layout */ .row:before, .row:after { content: " "; display: table; } *, *:before, *:after { -moz-box-sizing: border-box; } .row:after { clear: both; } .row { margin: 0; padding: 2em 0; } .row > div { width: 96%; margin: 0 auto; padding: .5em 0; } .nav > div { width: 96%; margin: 0 auto; } .nav li { text-transform: uppercase; display: inline-block; } .nav li a { display: block; padding: .5em; } #header > div { width: 96%; clear: both; margin: 0 auto; padding: 1em 0; } #header h1 { line-height: 1; } #header h1 a { display: block; } #header > div > .intro p { margin: 0 0 0.75em; } .section-intro { padding-bottom: 1.5em; border-bottom: 1px solid #5f8dd3; margin-bottom: 2em: } .section-intro p { margin: 0.5em 3.5em; } .section-intro h2, .sidebar h2 { margin: 0 0 .5em; } .section-intro h2 { text-align: center; } .section-intro h2 em, .sidebar h2 em { color: #94b3e2; } .step { padding: .5em 0; } .intro p, .main p { margin: 0.5em 0; } .main p:first-child { margin: 0 0 0.5em ; } .main h3 { margin: 1em 0 0.5em; padding-left:.5em; border-left: 8px solid #ff9b12; } .main h3:first-child { margin: 0 0 0.5em; } .main > h3 em { color: #94b3e2; display: block; } .main, .sidebar { margin: 1em 0 0.5em; } .main ul li { margin: .5em 0; } /* Images inside .main */ .main ul.images:before, .main ul.images:after { content: " "; display: table; } .main ul.images:after { clear: both; } .main ul.images { padding: 0.5em 0; } .main ul.images li { display: inline-block; float: left; width: 47%; margin: 0 1.5%; } .main ul.images li > img { width: 100%; height: auto; } /* Troubleshooting panel */ .troubleshooting { margin-top: .8em; } .troubleshooting > h4 { display: inline-block; cursor: pointer; letter-spacing: 2px; padding: .25em .5em; color: #2f5faa; opacity: .5; border: 1px solid #5f8dd3; border-radius: 3px; } .troubleshooting > h4:hover, .troubleshooting > h4.expanded { opacity: 1; } .troubleshooting > h4.expanded { border-bottom: 0; border-radius: 3px 3px 0 0; } .troubleshooting > h4:after { content:' ▾'; display: inline-block; line-height: 1; padding: 0 0.2em; vertical-align: top; } .troubleshooting > h4.expanded:after { content:' ▴'; display: inline-block; line-height: 1; padding: 0 0.2em; vertical-align: top; } .troubleshooting dl { display: none; padding: .5em; border: 1px solid #5f8dd3; border-radius: 0 3px 3px; } .main dt, .troubleshooting dt { margin-top: 1em; } .main dt:first-child, .troubleshooting dt:first-child { margin-top: 0; } .troubleshooting dt.feedback, .troubleshooting dd.feedback { display: inline-block; } /* FSF Introduction, before the header + Newsletter form */ #fsf-intro h3, #fsf-intro p { margin-bottom: 1em; } .newsletter input { -webkit-transition: all 0.1s linear; -moz-transition: all 0.1s linear; -o-transition: all 0.1s linear; transition: all 0.1s linear; } .newsletter input[type='text'], .newsletter input[type='submit'] { font-size: .75em; line-height: 1; vertical-align: bottom; } .newsletter input[type='text'] { border: none; height: 3em; border-radius: 3px; border: .1em solid #5f8dd3; width: 16em; padding: .2em .65em; background: #fff; color: #666; } .newsletter input[type='text']:focus, .newsletter input[type='text']:hover { border-color: #2f5faa; outline: none; color: #333333; } .newsletter input[type='submit'] { border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 2px; color: #fff; height: 3.1em; padding: .5em 1em; margin-left: 5px; border-radius: 3px; background-color: #5f8dd3; } .newsletter input[type='submit']:focus, .newsletter input[type='submit']:hover { background-color: #2f5faa; outline: none; } #fsf-intro .newsletter form + p { margin: .25em 0 0; font-size: } /* Footer */ #footer h4 { margin-bottom: .75em; } /* ========================================================================== Media Queries ========================================================================== */ @media only screen and (min-width: 400px) { } @media only screen and (min-width: 400px) and (max-width: 599px) { } @media only screen and (min-width: 600px) { .row > div, .nav > div, #header > div { width: 92%; margin: 0 auto; } } @media only screen and (min-width: 600px) and (max-width: 899px) { } @media only screen and (min-width: 900px) { .row > div, .nav > div, #header > div { width: 86%; } .nav > div { overflow: hidden; position: relative; padding: 0.35em 0 0; } .nav ul.os { display: inline-block; margin: 0 2em 0 0; } .nav ul.lang { display: inline-block; margin: 0 0 0 0.5em; float: right; } #header h1 { font-size: 6em; } #header .intro { float: left; width: 62.5%; } #header #fsf-intro { float: right; width: 34.05%; padding-left: 1.72%; border-left: 8px solid #ff9b12; } .row > div, #header > div, .row > div .section-intro, .row > div .step, #footer > div { overflow: hidden; } .row .sidebar { /* 3 columns 125px + 20px margins*/ float: left; clear: left; width: 34.05%; } .row .main { /* 5 columns 125px + 100px margins*/ float: right; width: 62.5%; margin-left: 1.72%; } .row .sidebar img { width: 100%; } }