2020-07-18 22:44:17 +02:00
|
|
|
:root {
|
|
|
|
/* Colors */
|
|
|
|
--primaryColor: #212529;
|
|
|
|
--secondaryColor: #95a5a6;
|
|
|
|
--accentColor: #f1c40f;
|
|
|
|
--linkColor: #2ecc71;
|
|
|
|
--mutedColor: #f4f6f6;
|
|
|
|
|
|
|
|
/* Typography */
|
|
|
|
--ratio: 1.25;
|
|
|
|
--scale0: 1rem;
|
|
|
|
--scale1: calc(var(--scale0) * var(--ratio));
|
|
|
|
--scale2: calc(var(--scale1) * var(--ratio));
|
|
|
|
--scale3: calc(var(--scale2) * var(--ratio));
|
|
|
|
--scale4: calc(var(--scale3) * var(--ratio));
|
|
|
|
--scale5: calc(var(--scale4) * var(--ratio));
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-03-08 12:52:45 +01:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2020-03-08 14:28:50 +01:00
|
|
|
html {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2018-09-23 20:28:05 +02:00
|
|
|
body {
|
2020-07-18 22:44:17 +02:00
|
|
|
color: var(--primaryColor);
|
|
|
|
display: grid;
|
|
|
|
font: 1em/1.5 Lato, sans-serif;
|
|
|
|
gap: 2em;
|
|
|
|
grid-template-columns:
|
|
|
|
[full-start]
|
|
|
|
1fr
|
|
|
|
[main-start side-start]
|
|
|
|
minmax(min-content, 12em)
|
|
|
|
[side-end content-start]
|
|
|
|
minmax(min-content, 36em)
|
|
|
|
[main-end content-end]
|
|
|
|
1fr
|
|
|
|
[full-end];
|
|
|
|
grid-template-rows: auto [content] 0;
|
|
|
|
margin-bottom: 4em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
body::before {
|
|
|
|
content: '';
|
|
|
|
grid-column: full;
|
|
|
|
grid-row: content;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
padding-left: 1em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
li + li {
|
2021-03-03 19:42:34 +01:00
|
|
|
margin-top: 0.4em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2021-03-05 18:24:53 +01:00
|
|
|
li::marker,
|
|
|
|
.network {
|
|
|
|
color: var(--secondaryColor);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--linkColor);
|
|
|
|
text-decoration: none;
|
|
|
|
transition: color 0.2s;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
a:focus,
|
|
|
|
a:hover {
|
|
|
|
color: var(--accentColor);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h5 {
|
2018-09-23 20:28:05 +02:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
line-height: 1.2;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: var(--scale5);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
color: var(--secondaryColor);
|
|
|
|
font-size: var(--scale4);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
color: var(--accentColor);
|
|
|
|
font-size: var(--scale3);
|
|
|
|
grid-column: side;
|
|
|
|
margin-bottom: 1rem;
|
2020-02-10 20:31:21 +01:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: var(--scale2);
|
2020-02-10 20:31:21 +01:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: var(--scale1);
|
2020-02-10 20:31:21 +01:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: var(--scale0);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 0.2em solid var(--mutedColor);
|
|
|
|
padding-left: 1em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
cite {
|
|
|
|
color: var(--secondaryColor);
|
|
|
|
font-style: inherit;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
cite::before {
|
|
|
|
content: '— ';
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2021-03-03 19:42:34 +01:00
|
|
|
svg {
|
|
|
|
fill: none;
|
|
|
|
margin-right: 0.2em;
|
|
|
|
stroke: currentColor;
|
|
|
|
stroke-linecap: round;
|
|
|
|
stroke-linejoin: round;
|
|
|
|
stroke-width: 2;
|
|
|
|
vertical-align: -0.2em;
|
|
|
|
}
|
|
|
|
|
2020-10-31 13:19:52 +01:00
|
|
|
.masthead {
|
2020-07-18 22:44:17 +02:00
|
|
|
background: var(--mutedColor);
|
|
|
|
display: inherit;
|
|
|
|
gap: inherit;
|
|
|
|
grid-column: full;
|
|
|
|
grid-template-columns: inherit;
|
|
|
|
padding: 4em 0;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2020-10-31 13:19:52 +01:00
|
|
|
.masthead > *,
|
2020-07-18 22:44:17 +02:00
|
|
|
section {
|
|
|
|
grid-column: main;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2020-10-31 13:19:52 +01:00
|
|
|
article > * + *,
|
|
|
|
blockquote > * + * {
|
|
|
|
margin-top: 0.6em;
|
|
|
|
}
|
|
|
|
|
2020-07-26 00:18:06 +02:00
|
|
|
.stack {
|
|
|
|
display: grid;
|
|
|
|
gap: 1.5em;
|
|
|
|
}
|
|
|
|
|
2021-03-03 19:42:34 +01:00
|
|
|
.icon-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2020-07-18 22:44:17 +02:00
|
|
|
.grid-list {
|
|
|
|
display: grid;
|
|
|
|
gap: 1em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
.spaced-list {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
.spaced-list:first-child::before {
|
|
|
|
border-bottom: 1px solid var(--mutedColor);
|
|
|
|
content: '';
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0 1em;
|
|
|
|
order: 1;
|
2020-03-08 14:28:50 +01:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
.spaced-list > :nth-child(2) {
|
|
|
|
order: 2;
|
2020-03-08 14:28:50 +01:00
|
|
|
}
|
2018-09-23 20:28:05 +02:00
|
|
|
|
2020-07-18 22:44:17 +02:00
|
|
|
.tag-list {
|
|
|
|
display: flex;
|
2020-07-26 00:05:15 +02:00
|
|
|
flex-wrap: wrap;
|
2020-07-18 22:44:17 +02:00
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
.tag-list > li {
|
|
|
|
background: var(--mutedColor);
|
|
|
|
margin: 0 0.2em 0.2em 0;
|
|
|
|
padding: 0.2em 0.6em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2020-11-02 20:14:42 +01:00
|
|
|
@media print, (min-width: 48em) {
|
2020-07-18 22:44:17 +02:00
|
|
|
h3 {
|
|
|
|
text-align: right;
|
|
|
|
margin-bottom: inherit;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2020-10-31 13:19:52 +01:00
|
|
|
.masthead > *,
|
2020-07-18 22:44:17 +02:00
|
|
|
section {
|
|
|
|
grid-column: content;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
section {
|
|
|
|
display: contents;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
.grid-list {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
|
|
|
}
|