Files
the-example-app-nodejs/public/stylesheets/style.css
2017-11-07 17:33:32 +01:00

1993 lines
35 KiB
CSS

/*! 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;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-regular-webfont.woff2') format('woff2'),
url('/fonts/roboto-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-italic-webfont.woff2') format('woff2'),
url('/fonts/roboto-italic-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-bold-webfont.woff2') format('woff2'),
url('/fonts/roboto-bold-webfont.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'roboto';
src: url('/fonts/roboto-bolditalic-webfont.woff2') format('woff2'),
url('/fonts/roboto-bolditalic-webfont.woff') format('woff');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'robotomedium';
src: url('/fonts/roboto-medium-webfont.woff2') format('woff2'),
url('/fonts/roboto-medium-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'robotomedium';
src: url('/fonts/roboto-mediumitalic-webfont.woff2') format('woff2'),
url('/fonts/roboto-mediumitalic-webfont.woff') format('woff');
font-weight: normal;
font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'robotomedium', 'Arial Black', sans-serif;
font-weight: normal;
line-height: 1.31;
color: #2a3039
}
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;
}
p a, label a, .form-item a {
color: #5c9fef;
text-decoration: underline;
}
p a:hover, label a:hover, .form-item a:hover {
color: #3c80cf;
text-decoration: underline;
}
/* 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: #536171;
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 0 0;
text-align: left;
font-weight: bold;
font-size: 0.875em
}
label + input {
margin-top: 5.5px;
}
/* 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: #d3dce0;
}
/* 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 {
border-color: #5c9fef;
color: #536171;
}
button:focus,
.cta:focus {
background-color: #3c80cf;
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: #3c80cf;
color: #fff;
}
.form-item + .form-item {
margin-top: 22px;
}
.form-item input {
margin-bottom: 5.5px;
}
.form-item__help-text {
font-size: 0.875em;
color: #8091a5;
}
.form-item__error-message {
font-size: 0.875em;
color: #cd3f39;
}
.form-item__error-message:before {
content: '';
display: inline-block;
background: url('/images/icon-error.svg') no-repeat left center;
background-size: contain;
width: 12px;
height: 12px;
padding-right: 0.3em;
}
.status-block {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin: 22px 0;
padding: 22px;
border-radius: 4px;
font-size: 0.875em;
}
.status-block--success {
background: #f4fffb;
}
.status-block--error {
background: #fbe3e2;
}
.status-block__icon {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: 24px;
height: 24px;
margin-right: 11px;
}
.status-block__content {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.status-block__title {
font-weight: bold;
}
.status-block__message {
color: #536171;
}
.layout-centered {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
max-width: 980px;
margin: 0 auto;
padding: 0 2vw;
}
.layout-centered-small {
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
max-width: 620px;
margin: 0 auto;
padding: 0 2vw;
}
.layout-sidebar {
padding: 0 2vw;
max-width: 980px;
margin: 0 auto;
}
@media (min-width: 700px) {
.layout-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) {
.layout-sidebar__sidebar {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: 228px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
}
}
.layout-sidebar__sidebar-header {
padding: 11px 22px;
border-bottom: 1px solid #eeeeee;
}
.layout-sidebar__sidebar-title {
font-family: 'robotomedium', Helvetica, sans-serif;
font-size: 1.25em;
font-weight: normal;
margin: 0;
}
.layout-sidebar__sidebar-content {
background: #f7f9fa;
padding: 22px;
}
.layout-sidebar__content {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-item-align: stretch;
align-self: stretch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
padding-top: 11px;
}
@media (min-width: 700px) {
.layout-sidebar__content {
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
width: 732px;
margin-left: 22px;
}
}
.layout-sidebar__content > * {
max-width: 732px;
}
.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__item {
-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);
}
.header {
margin-bottom: 22px;
}
@media (min-width: 700px) {
.header {
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
}
}
.header__upper-wrapper {
background: #3072be;
padding: 11px 0;
color: #abc6e5;
}
.header__upper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 0.8em;
}
@media (min-width: 700px) {
.header__upper {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
}
.header__upper-first {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
@media (min-width: 700px) {
.header__upper-first div + div {
margin-left: 22px;
}
}
.header__upper-second {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
@media (min-width: 700px) {
.header__upper-second div + div {
margin-left: 22px;
}
}
.header__upper-link {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.header__upper-copy {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
}
.header__upper-icon {
display: inline-block;
width: 20px;
height: 20px;
margin-right: 5.5px;
}
.header__lower-wrapper {}
.header__lower {
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;
padding: 22px 0 5.5px;
border-bottom: 1px solid #e5ebed;
}
.header__title {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
font-family: 'roboto', Helvetica, sans-serif;
letter-spacing: 3px;
text-transform: uppercase;
color: #fff;
}
.header__title img {
display: inline-block;
width: 24px;
height: auto;
margin-right: 11px;
}
.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-pack: center;
-ms-flex-pack: center;
justify-content: 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__controls {
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;
color: #fff;
}
@media (min-width: 700px) {
.header__controls {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
}
.header__controls form {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
@media (min-width: 700px) {
.header__controls form {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
}
.header__controls form .group {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 0 11px;
margin: 0;
border: none;
background: #3c80cf;
border-radius: 4px;
color: inherit;
}
.header__controls form .group + .group {
margin-left: 22px;
}
.header__controls form .group select,
.header__controls form .group label {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
display: inline-block;
margin-top: 0;
margin-bottom: 0;
color: inherit;
font-weight: normal;
font-family: 'robotomedium', Helvetica, sans-serif;
font-size: 0.8em;
background: transparent;
border: none;
}
.header__controls form .group select {
margin-top: 2px;
}
.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: 1px 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;
}
.footer__disclaimer-logo {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: 24px;
height: 27px;
margin-right: 22px;
}
.footer__disclaimer-text {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
color: #a9b9c0;
font-size: 0.75em;
line-height: 1.5;
}
.footer__disclaimer-text a {
text-decoration: underline;
}
.footer__disclaimer-text a:hover {
text-decoration: none;
}
.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;
}
.table-of-contents {}
.table-of-contents__list {
list-style: none;
margin: 0;
padding: 0;
padding-left: 11px;
}
.table-of-contents__item {
margin: 0 0 5.5px;
padding: 0;
font-size: 0.9em;
line-height: 1.8;
}
.table-of-contents__link {
display: block;
color: #8091a5;
}
.table-of-contents__link:hover,
.table-of-contents__link.active {
font-family: 'robotomedium', Helvetica, sans-serif;
color: #536171;
}
.table-of-contents__link.active {
position: relative;
}
.table-of-contents__link.active:before,
.table-of-contents__link.active:after {
position: absolute;
top: 0;
}
.table-of-contents__link.active:before {
content: '';
left: -33px;
bottom: 0;
width: 3px;
background: #536171;
}
.table-of-contents__link.visited {
position:relative;
}
.table-of-contents__link.visited:before,
.table-of-contents__link.visited:after {
position: absolute;
top: 0;
}
.table-of-contents__link.visited:after {
content: '';
display: block;
width: 16px;
height: 16px;
top: 50%;
left: -22px;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
background: url('/images/icon-viewed.svg') no-repeat center center;
background-size: contain;
}
.sidebar-menu {}
.sidebar-menu__list {
list-style: none;
margin: 0;
padding: 0;
}
.sidebar-menu__item {
margin: 0 0 5.5px;
padding: 0;
font-size: 0.9em;
line-height: 1.8;
}
.sidebar-menu__link {
display: block;
color: #8091a5;
}
.sidebar-menu__link.active {
font-family: 'robotomedium', Helvetica, sans-serif;
color: #536171;
}
.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: 4px;
}
.main-navigation ul li a.active,
.main-navigation ul li a:hover {
background: #f7f9fa;
}
.main-navigation ul li a.active {
color: #536171;
}
body {
background-color: #fff;
color: #536171;
font-family: 'roboto', Helvetica, 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;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
}
#main__footer {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
}
/*
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
*/
.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;
}
.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;
padding: 22px;
border-radius: 4px;
-webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
}
.course-card__categories {
-webkit-box-flex: 0;
-ms-flex: 0 0 1.5em;
flex: 0 0 1.5em;
margin-bottom: 22px;
height: 1.5em;
}
.course-card__category {
display: inline-block;
color: #8091a5;
font-size: 0.75em;
letter-spacing: 2px;
}
.course-card__category:after {
content: '/';
display: inline-block;
padding: 0 0.3em;
}
.course-card__category:last-child:after {
display: none;
}
.course-card__title {
-webkit-box-flex: 0;
-ms-flex: 0 1 12vh;
flex: 0 1 12vh;
max-height: 120px;
margin: 0;
overflow: hidden;
padding-bottom: 22px;
margin-bottom: 22px;
border-bottom: 1px solid #e5ebed;
font-family: 'robotomedium', Helvetica, sans-serif;
font-weight: normal;
font-size: 1.625em;
line-height: 1.38;
}
.course-card__description {
-webkit-box-flex: 0;
-ms-flex: 0 1 20vh;
flex: 0 1 20vh;
max-height: 180px;
overflow: hidden;
margin: 0 0 22px;
line-height: 1.63;
color: #536171;
}
.course-card__link-wrapper {
-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;
font-size: 0.75em;
line-height: 2.17;
letter-spacing: 2px;
}
.course {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.course__title {
margin-bottom: 22px;
}
.course__overview {
font-family: 'robotomedium', Helvetica, sans-serif;
}
@media (min-width: 700px) {
.course__overview {
float: right;
border-radius: 4px;
-webkit-box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .1);
width: 228px;
margin: 0 0 22px 22px;
}
}
.course__overview-title {
border-bottom: 1px solid #eeeeee;
padding: 11px 0;
margin: 0;
line-height: 1.31;
font-weight: normal;
text-transform: uppercase;
text-align: center;
}
.course__overview-item {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 11px;
border-bottom: 1px solid #eeeeee;
line-height: 1.54;
font-size: 0.8em;
}
.course__overview-icon {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
width: 24px;
height: 24px;
padding-right: 11px;
}
.course__overview-value {
-webkit-box-flex: 1;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
.course__overview-cta-wrapper {
padding: 11px 0;
text-align: center;
}
.course__overview-cta {
margin: 0;
}
.course__cta {
margin-bottom: 0;
}
.module-hero-image {}
.module-hero-image__wrapper {
position: relative;
overflow: hidden;
max-height: 60vh;
border-radius: 4px;
}
.module-hero-image__image {
display: block;
width: 100%;
height: auto;
}
.module-hero-image__headline-wrapper {
position: absolute;
left: 0;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.module-hero-image__headline {
color: #fff;
text-align: center;
font-size: 4.5vw;
line-height: 1;
text-shadow: 0px 3px 0px #b2a98f,
0px 14px 10px rgba(0, 0, 0, .15),
0px 24px 2px rgba(0, 0, 0, .1),
0px 34px 30px rgba(0, 0, 0, .1);
}
@media (min-width: 700px) {
.module-hero-image__headline {
font-size: 4em;
}
}
.module-higlighted-course {}
.module-higlighted-course__wrapper {
position: relative;
overflow: hidden;
max-height: 60vh;
border-radius: 4px;
}
.module-higlighted-course__image {
display: block;
width: 100%;
height: auto;
}
.module-higlighted-course__overlay {
z-index: 1;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0.8;
border-radius: 4px;
background-color: #3c3d41;
}
.module-higlighted-course__content {
z-index: 2;
position: absolute;
left: 0;
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
padding: 22px 44px;
color: #a9b9c0;
}
.module-higlighted-course__categories {
-webkit-box-flex: 0;
-ms-flex: 0 0 1.5em;
flex: 0 0 1.5em;
}
.module-higlighted-course__category {
display: inline-block;
margin-right: 22px;
font-size: 0.75em;
letter-spacing: 2px;
}
.module-higlighted-course__title {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
margin: 0;
color: #fff;
font-size: 4vw;
line-height: 1.3;
}
@media (min-width: 700px) {
.module-higlighted-course__title {
font-size: 3.25em;
}
}
.module-higlighted-course__description-wrapper {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
max-width: 400px;
line-height: 1.3;
}
@media (min-width: 700px) {
.module-higlighted-course__description-wrapper {
font-size: 1.25em;
}
}
.module-higlighted-course__description-wrapper p {
margin: 0;
}
.module-higlighted-course__link-wrapper {
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
margin-top: 22px;
}
.module-higlighted-course__link {
display: inline-block;
border-bottom: 1px solid #fff;
text-transform: uppercase;
color: #fff;
font-size: 0.75em;
line-height: 2.17;
letter-spacing: 2px;
}
.module {
max-width: 980px;
margin: 0 auto;
padding: 0 2vw;
}
.module img {
width: 100%;
height: auto;
}
.module + .module {
margin-top: 22px;
}
.modules-container {
-webkit-box-flex: 1;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
.lesson-module {
margin-top: 22px
}
.lesson-module img {
width: 100%;
height: auto;
}
.lesson {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.lesson__title {
margin-bottom: 22px;
}
.lesson__cta {
margin-bottom: 0;
}