/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { line-height: 1.15; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * Add the correct display in IE 9-. */ article, aside, footer, header, nav, section { display: block; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * Add the correct display in IE 9-. * 1. Add the correct display in IE. */ figcaption, figure, main { /* 1 */ display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1em 40px; } /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { -webkit-box-sizing: content-box; box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * 1. Remove the gray background on active links in IE 10. * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. */ a { background-color: transparent; /* 1 */ -webkit-text-decoration-skip: objects; /* 2 */ } /** * 1. Remove the bottom border in Chrome 57- and Firefox 39-. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ -webkit-text-decoration: underline dotted; text-decoration: underline dotted; /* 2 */ } /** * Prevent the duplicate application of `bolder` by the next rule in Safari 6. */ b, strong { font-weight: inherit; } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font style in Android 4.3-. */ dfn { font-style: italic; } /** * Add the correct background and color in IE 9-. */ mark { background-color: #ff0; color: #000; } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Add the correct display in IE 9-. */ audio, video { display: inline-block; } /** * Add the correct display in iOS 4-7. */ audio:not([controls]) { display: none; height: 0; } /** * Remove the border on images inside links in IE 10-. */ img { border-style: none; } /** * Hide the overflow in IE. */ svg:not(:root) { overflow: hidden; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` * controls in Android 4. * 2. Correct the inability to style clickable types in iOS and Safari. */ button, html [type="button"], /* 1 */ [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { -webkit-box-sizing: border-box; box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * 1. Add the correct display in IE 9-. * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } /** * Remove the default vertical scrollbar in IE. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10-. * 2. Remove the padding in IE 10-. */ [type="checkbox"], [type="radio"] { -webkit-box-sizing: border-box; box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in IE 9-. * 1. Add the correct display in Edge, IE, and Firefox. */ details, /* 1 */ menu { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Scripting ========================================================================== */ /** * Add the correct display in IE 9-. */ canvas { display: inline-block; } /** * Add the correct display in IE. */ template { display: none; } /* Hidden ========================================================================== */ /** * Add the correct display in IE 10-. */ [hidden] { display: none; } h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; } a { color: inherit; text-decoration: none; } /* Based on FormHack v1.2.0 (formhack.io) */ /* But with some custom modifications */ /* Config ----------------------------- */ :root { /* Font */ /* Borders */ /* Inputs, Textareas, Select, Option */ /* Select Vendor Styling */ /* comment this out to maintain vendor styling */ /* Buttons & Input Submits */ /* Layout */ /* change to "10px auto" to center */ } /* Global Reset Styles ------------------ */ input, textarea, select, option, optgroup, button, legend, fieldset, .cta { -webkit-box-sizing: border-box; box-sizing: border-box; outline: none; font-family: 'Raleway', sans-serif; font-size: 16px; color: rgb(40, 40, 40); vertical-align: top; display: block; margin: 22px 0; text-align: left; } datalist { font-family: 'Raleway', sans-serif; font-size: 16px; } label { display: block; margin: 22px 0; text-align: left; font-weight: bold } label + input { margin-top: -11px; } /* Input & Textarea ------------------ */ /* Fields with standard width */ input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="color"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"], input[list], input[type="file"], /* select, */ textarea { width: 100%; max-width: 100%; padding: 8px; background-color: #fff; border-radius: 5px; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); } /* Fields with standard height */ input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="color"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"], input[list] { height: 40px; -webkit-appearance: none; } /* Other */ textarea { -webkit-appearance: none; overflow: auto; } input[type="range"] { height: 40px; width: 100%; max-width: 100%; } input[type="file"] { min-height: 40px; } input[type="search"] { height: 40px; -webkit-appearance: none; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } input[type="checkbox"], input[type="radio"] { display: inline-block; vertical-align: middle; } /* For checkbox and radio to be centered, need to wrap the input and label in a span - /* .checkbox-container { /* display: block; /* text-align: center; /* } /* Fieldset ------------------ */ fieldset { padding: 0; border: 0; } legend { padding: 0; font-weight: inherit; } /* Buttons, Input Type Submit/Reset ------------------ */ button, input[type="button"], input[type="submit"], input[type="reset"], input[type="image"], .cta { display: inline-block; height: 40px; min-width: 200px; background-color: #5c9fef; padding: 0 2em; cursor: pointer; line-height: 40px; color: #fff; font-weight: normal; -webkit-appearance: none; -moz-appearance: none; border: none; border-radius: 3px; text-align: center; } input[type="image"] { text-align: center; padding: 8px; } /* States ------------------ */ input[disabled], textarea[disabled], select[disabled], option[disabled], button[disabled] { cursor: not-allowed; } input:focus, textarea:focus, select:focus, option:focus, button:focus, .cta:focus { background-color: rgb(125, 178, 242); color: #fff; } input[type="checkbox"]:focus, input[type="radio"]:focus { outline: #5c9fef solid 2px; } button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:focus, input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus, .cta:hover, .cta:focus { background-color: rgb(125, 178, 242); color: #fff; } .form-item + .form-item { margin-top: 22px; } .form-item .help-text { font-size: 0.9em; color: #8091a5; margin-top: -22px; } /* github.com style (c) Vasily Polovnyov */ .hljs { display: block; overflow-x: auto; padding: 0.5em; color: #333; background: #f8f8f8; } .hljs-comment, .hljs-quote { color: #998; font-style: italic; } .hljs-keyword, .hljs-selector-tag, .hljs-subst { color: #333; font-weight: bold; } .hljs-number, .hljs-literal, .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr { color: #008080; } .hljs-string, .hljs-doctag { color: #d14; } .hljs-title, .hljs-section, .hljs-selector-id { color: #900; font-weight: bold; } .hljs-subst { font-weight: normal; } .hljs-type, .hljs-class .hljs-title { color: #458; font-weight: bold; } .hljs-tag, .hljs-name, .hljs-attribute { color: #000080; font-weight: normal; } .hljs-regexp, .hljs-link { color: #009926; } .hljs-symbol, .hljs-bullet { color: #990073; } .hljs-built_in, .hljs-builtin-name { color: #0086b3; } .hljs-meta { color: #999; font-weight: bold; } .hljs-deletion { background: #fdd; } .hljs-addition { background: #dfd; } .hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; } body { background-color: #fff; color: #2a303a; font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px; font-size: 1rem; line-height: 1.5em; } #main { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 100vh; } #main__header { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; } #main__content { -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; } #main__footer { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; } .wrapper { max-width: 980px; margin: 0 auto; padding: 0 2vw; } @media (min-width: 700px) { .wrapper-with-sidebar { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } } @media (min-width: 700px) { .wrapper-with-sidebar__sidebar { -webkit-box-flex: 0; -ms-flex: 0 0 220px; flex: 0 0 220px; padding: 22px; border-radius: 7px; -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .45); box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .45); } .wrapper-with-sidebar__sidebar > h2 { margin-bottom: 66px; } } .wrapper-with-sidebar__content { padding: 22px 0; } @media (min-width: 700px) { .wrapper-with-sidebar__content { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-left: 22px; overflow: hidden; } } .grid-list { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; margin: 0 -11px } .grid-list > * { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0 11px 22px; -webkit-box-flex: 0; -ms-flex: 0 0 calc(50% - 22px); flex: 0 0 calc(50% - 22px); } @media (min-width: 700px) { .grid-list > * { -webkit-box-flex: 0; -ms-flex: 0 0 calc(33% - 22px); flex: 0 0 calc(33% - 22px); } } .grid-list-small { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; margin: 0 -11px } .grid-list-small > * { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0 11px 22px; -webkit-box-flex: 0; -ms-flex: 0 0 calc(50% - 22px); flex: 0 0 calc(50% - 22px); } .table-of-contents ul { list-style: none; margin: 22px 0; padding: 0; padding-left: 44px; } .table-of-contents ul li { margin: 0 0 22px; padding: 0; } .table-of-contents ul a { display: block; } .table-of-contents ul a.active { position: relative; font-weight: bold; } .table-of-contents ul a.active:before, .table-of-contents ul a.active:after { position: absolute; top: 0; } .table-of-contents ul a.active:before { content: ''; left: -66px; bottom: 0; width: 3px; background: #536171; } .table-of-contents ul a.active:after { content: '👁'; left: -44px; } .sidebar-menu ul { list-style: none; margin: 22px 0; padding: 0; } .sidebar-menu ul li { margin: 0 0 22px; padding: 0; } .sidebar-menu ul a { display: block; } .sidebar-menu ul a.active { font-weight: bold; } .main-navigation ul { display: -webkit-box; display: -ms-flexbox; display: flex; list-style: none; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin: 0; padding: 0; } @media (min-width: 700px) { .main-navigation ul { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } } .main-navigation ul li { margin: 0; } .main-navigation ul li + li { margin-left: 5.5px; } .main-navigation ul li a { display: block; text-transform: uppercase; font-weight: bold; padding: 0.7em 1em; color: #8091a5; border-radius: 3px; } .main-navigation ul li a.active, .main-navigation ul li a:hover { background: #f7f9fa; } .main-navigation ul li a.active { color: #2a303a; } .header { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 22px 0; padding-bottom: 22px; border-bottom: 2px solid #e5ebed; } @media (min-width: 700px) { .header { -ms-flex-wrap: nowrap; flex-wrap: nowrap; } } .header__logo { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 0; -ms-flex: 0 0 100%; flex: 0 0 100%; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } @media (min-width: 700px) { .header__logo { -webkit-box-flex: 0; -ms-flex: 0 0 200px; flex: 0 0 200px; } } .header__logo img { width: 100%; height: auto; max-width: 169px; } .header__navarea { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 0; -ms-flex: 0 0 100%; flex: 0 0 100%; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-pack: distribute; justify-content: space-around; } @media (min-width: 700px) { .header__navarea { -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; min-height: 90px; } } .header__navarea form { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; } @media (min-width: 700px) { .header__navarea form { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } } .header__navarea form > * { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; } .header__navarea form fieldset { padding: 0.2em 1em; margin: 0; border: none; background: #f7f9fa; color: #8091a5; border-radius: 3px; font-size: 0.8em; } .header__navarea form fieldset + fieldset { margin-left: 22px; } .header__navarea form fieldset label + select { margin-left: 0.5em; } .header__navarea form fieldset select, .header__navarea form fieldset label { display: inline-block; margin-top: 0; margin-bottom: 0; } .footer { margin-top: 22px 0; padding-top: 22px; } .footer__upper { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; min-height: 80px; border-bottom: 2px solid #e5ebed; } .footer__upper > * { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .footer__navigation { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; } .footer__apps { -webkit-box-flex: 1; -ms-flex: 1 0 auto; flex: 1 0 auto; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } @media (min-width: 700px) { .footer__apps { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } } .footer__apps a { display: inline-block; width: 138px; } .footer__apps a + a { margin-left: 22px; } .footer__apps a img { width: 100%; height: auto; } .footer__lower { display: -webkit-box; display: -ms-flexbox; display: flex; min-height: 80px; } .footer__disclaimer { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 0.7em; color: #8091a5; } .footer__social { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 0 22px; } .footer__social a + a { margin-left: 22px; } .footer__social img { width: 24px; height: auto; } .course-card { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 30vh; padding: 22px; border-radius: 7px; -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .45); box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .45); } .course-card > * + * { margin-top: 22px; } .course-card__categories { -webkit-box-flex: 0; -ms-flex: 0 0 1.5em; flex: 0 0 1.5em; } .course-card__category { display: inline-block; margin-right: 22px; color: #8091a5; } .course-card__title { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; margin-bottom: 0; } .course-card__description-wrapper { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; } .course-card__description-wrapper p { margin: 0; } .course-card__link-wapper { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; } .course-card__link { display: inline-block; padding-bottom: 0.3em; border-bottom: 1px solid #5c9fef; text-transform: uppercase; color: #5c9fef; } .module { max-width: 980px; margin: 0 auto; padding: 0 2vw } .module img { width: 100%; height: auto; } .module + .module { margin-top: 22px; } .lesson-module { margin-top: 66px } .lesson-module img { width: 100%; height: auto; }