/* 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; } ::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: 'Signika Light'; src: local('Signika Light'), url('../fonts/Signika/Signika-Light.ttf') format('truetype'); } @font-face { font-family: 'Signika Bold'; src: local('Signika Bold'), url('../fonts/Signika/Signika-Bold.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; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5em; } h2 { font-size: 2.75em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; } h3 { font-size: 1.625em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; } h4 { font-size: 1.375em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; } h5 { font-size: 1.25em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; } h6 { font-size: 1.125em; line-height: 1.2; font-family: 'Dosis'; text-transform: uppercase; letter-spacing: 1px; } .troubleshooting h4, .troubleshooting dt, strong { font-family: 'Signika Bold'; } .nav, #footer, small { font-size: 0.75em; } .troubleshooting dl { font-size: 0.85em; } .troubleshooting h4 { font-size: .75em; } /* Colours */ body { background: #f4eed7; } a { color: #2f5faa; text-decoration: none; } #section1, #section3, #section5, #faq { background: #dcdfe5; } #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 a { display: block; } #header h1 { line-height: 1; padding: .5em 0 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; } .main h3:first-child { margin: 0 0 0.5em; } .main > h3 em { color: #94b3e2; } .main, .sidebar { margin: 1em 0 0.5em; } .sidebar h2 { margin: 0 0 1em; } .sidebar h2 em { color: #94b3e2; } .troubleshooting { /* border-left: 8px solid #ff9b12; */ margin-top: .8em; } .troubleshooting > h4 { letter-spacing: 2px; padding: .25em 0; color: #2f5faa; cursor: pointer; opacity: .5; } .troubleshooting h4:hover { opacity: .8; } .main dt, .main dd, .troubleshooting dt, .troubleshooting dd { } #footer h4 { margin-bottom: 1em; } /* ========================================================================== 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 { position: relative; padding: 0.5em 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; } #header h1 { font-size: 5em; text-align: center; } .row > div, .intro > div { overflow: hidden; } .row .sidebar, .intro .sidebar { /* 3 columns 125px + 20px margins*/ float: left; clear: left; width: 34.05%; margin-right: 1.72%; } .row .main, .intro .main { /* 5 columns 125px + 100px margins*/ float: right; width: 62.5%; } .intro > div { padding: .5em 0; } .intro .sidebar { /* 2 columns 125px + 20px margins*/ float: left; clear: left; width: 23.27%; margin-right: 1.72%; } .intro .main { /* 6 columns 125px + 100px margins*/ float: right; width: 75%; } .intro .sidebar img { width: 70%; } .row .sidebar img { width: 100%; } } /* ========================================================================== Helper classes ========================================================================== */ .ir { background-color: transparent; border: 0; overflow: hidden; *text-indent: -9999px; } .ir:before { content: ""; display: block; width: 0; height: 150%; } .hidden { display: none !important; visibility: hidden; } .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } .invisible { visibility: hidden; } .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; }