2021-01-25 12:28:12 +01:00
|
|
|
/* ----------------------------- */
|
|
|
|
/* ==Reset (base) */
|
|
|
|
/* ----------------------------- */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 1. Switch to border-box model for all elements
|
2021-07-09 14:12:15 +02:00
|
|
|
* 2. Avoid min-width: auto on flex and grid items
|
2021-01-25 12:28:12 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
2022-01-05 17:34:13 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
/* 1 */
|
|
|
|
min-width: 0;
|
|
|
|
/* 2 */
|
2021-01-25 12:28:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 1. Remove the grey highlight on links in iOS
|
|
|
|
* 2. Prevent orientation font changes in iOS
|
|
|
|
* 3. Breaks words to prevent overflow in all browsers
|
|
|
|
*/
|
|
|
|
|
|
|
|
html {
|
|
|
|
font-size: $font-size-html;
|
2022-01-05 17:34:13 +01:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
/* 1 */
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
/* 2 */
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
/* 3 */
|
2021-01-25 12:28:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
font-family: $font-family-base;
|
|
|
|
font-size: $font-size-base;
|
|
|
|
line-height: $line-height-base;
|
2022-01-05 17:34:13 +01:00
|
|
|
background-color: $body-bg;
|
|
|
|
color: $body-color;
|
2021-01-25 12:28:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Headings
|
|
|
|
*/
|
|
|
|
|
|
|
|
h1,
|
|
|
|
.h1-like,
|
|
|
|
h2,
|
|
|
|
.h2-like,
|
|
|
|
h3,
|
|
|
|
.h3-like,
|
|
|
|
h4,
|
|
|
|
.h4-like,
|
|
|
|
h5,
|
|
|
|
.h5-like,
|
|
|
|
h6,
|
|
|
|
.h6-like {
|
2022-01-05 17:34:13 +01:00
|
|
|
color: $gray-900;
|
2021-01-25 12:28:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Links
|
|
|
|
*/
|
|
|
|
|
|
|
|
a {
|
2022-01-05 17:34:13 +01:00
|
|
|
color: $gray-600;
|
2021-01-25 12:28:12 +01:00
|
|
|
text-decoration: $link-decoration;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:focus,
|
|
|
|
a:hover,
|
|
|
|
a:active {
|
2022-01-05 17:34:13 +01:00
|
|
|
color: $gray-900;
|
2021-01-25 12:28:12 +01:00
|
|
|
text-decoration: $link-decoration-hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 1. Remove the bottom border in Chrome 57-
|
|
|
|
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
|
|
*/
|
|
|
|
|
|
|
|
abbr[title] {
|
2022-01-05 17:34:13 +01:00
|
|
|
border-bottom: none;
|
|
|
|
/* 1 */
|
|
|
|
text-decoration: underline;
|
|
|
|
/* 2 */
|
|
|
|
text-decoration: underline dotted;
|
|
|
|
/* 2 */
|
2021-01-25 12:28:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Vertical rythm
|
|
|
|
*/
|
|
|
|
|
|
|
|
h1,
|
|
|
|
.h1-like,
|
|
|
|
h2,
|
|
|
|
.h2-like {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: $spacer-medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
|
|
|
address,
|
|
|
|
ol,
|
|
|
|
ul,
|
|
|
|
dl,
|
|
|
|
blockquote,
|
|
|
|
pre,
|
|
|
|
h3,
|
|
|
|
.h3-like,
|
|
|
|
h4,
|
|
|
|
.h4-like,
|
|
|
|
h5,
|
|
|
|
.h5-like,
|
|
|
|
h6,
|
|
|
|
.h6-like,
|
|
|
|
dt,
|
|
|
|
dd {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: $spacer-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Nested elements
|
|
|
|
*/
|
|
|
|
|
|
|
|
ol ol,
|
|
|
|
ol ul,
|
|
|
|
ul ol,
|
|
|
|
ul ul,
|
|
|
|
li ul,
|
|
|
|
li ol,
|
|
|
|
nav ul,
|
|
|
|
nav ol,
|
|
|
|
li p,
|
|
|
|
li .p-like {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Lists
|
|
|
|
*/
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
padding-left: $spacer-medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul,
|
|
|
|
nav ol {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Embed content
|
|
|
|
*/
|
|
|
|
|
|
|
|
audio,
|
|
|
|
canvas,
|
|
|
|
iframe,
|
|
|
|
img,
|
|
|
|
svg,
|
|
|
|
video {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
img,
|
|
|
|
table,
|
|
|
|
td,
|
|
|
|
blockquote,
|
|
|
|
pre,
|
|
|
|
code,
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select,
|
|
|
|
video,
|
|
|
|
svg,
|
|
|
|
iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe,
|
|
|
|
img,
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Remove the border on iframes in all browsers
|
|
|
|
*/
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
border-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Fill color matching to text color
|
|
|
|
*/
|
|
|
|
|
|
|
|
svg:not([fill]) {
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Hide the overflow in IE
|
|
|
|
*/
|
|
|
|
|
|
|
|
svg:not(:root) {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Tables
|
|
|
|
*/
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Rulers
|
|
|
|
*/
|
|
|
|
|
|
|
|
hr {
|
|
|
|
box-sizing: content-box;
|
|
|
|
height: 0;
|
|
|
|
overflow: visible;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid;
|
|
|
|
margin: $spacer-medium 0;
|
|
|
|
clear: both;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* table styles
|
|
|
|
*/
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
border-collapse: collapse;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-bottom: $spacer-medium;
|
2022-01-05 17:34:13 +01:00
|
|
|
}
|