2020-07-18 22:44:17 +02:00
|
|
|
:root {
|
2021-03-07 14:58:21 +01:00
|
|
|
color-scheme: light dark;
|
|
|
|
|
2021-11-12 19:57:16 +01:00
|
|
|
--color-background: #ffffff; /* White */
|
|
|
|
--color-muted: #f3f4f5; /* Light Gray 200 */
|
|
|
|
--color-primary: #191e23; /* Dark Gray 900 */
|
|
|
|
--color-secondary: #6c7781; /* Dark Gray 300 */
|
|
|
|
--color-accent: #ffb900; /* Accent Yellow */
|
|
|
|
--color-link: #46b450; /* Accent Green */
|
2021-03-19 13:40:49 +01:00
|
|
|
|
|
|
|
--scale-ratio: 1.25;
|
2020-07-18 22:44:17 +02:00
|
|
|
--scale0: 1rem;
|
2021-03-19 13:40:49 +01:00
|
|
|
--scale1: calc(var(--scale0) * var(--scale-ratio));
|
|
|
|
--scale2: calc(var(--scale1) * var(--scale-ratio));
|
|
|
|
--scale3: calc(var(--scale2) * var(--scale-ratio));
|
|
|
|
--scale4: calc(var(--scale3) * var(--scale-ratio));
|
|
|
|
--scale5: calc(var(--scale4) * var(--scale-ratio));
|
2020-07-18 22:44:17 +02:00
|
|
|
}
|
|
|
|
|
2021-03-07 14:50:42 +01:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
2021-11-12 19:57:16 +01:00
|
|
|
--color-background: #191e23; /* Dark Gray 900 */
|
|
|
|
--color-muted: #23282d; /* Dark Gray 800 */
|
|
|
|
--color-primary: #fbfbfc; /* Light Gray 100 */
|
|
|
|
--color-secondary: #ccd0d4; /* Light Gray 700 */
|
2021-03-07 14:50:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-18 22:44:17 +02:00
|
|
|
* {
|
|
|
|
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 {
|
2021-03-19 13:40:49 +01:00
|
|
|
background: var(--color-background);
|
|
|
|
color: var(--color-primary);
|
2020-07-18 22:44:17 +02:00
|
|
|
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
|
|
|
|
2022-03-08 12:56:28 +01:00
|
|
|
:not(.icon-list, .tag-list) > 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 {
|
2021-03-19 13:40:49 +01:00
|
|
|
color: var(--color-secondary);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
a {
|
2021-03-19 13:40:49 +01:00
|
|
|
color: var(--color-link);
|
2020-07-18 22:44:17 +02:00
|
|
|
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 {
|
2021-03-19 13:40:49 +01:00
|
|
|
color: var(--color-accent);
|
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 {
|
2021-03-19 13:40:49 +01:00
|
|
|
color: var(--color-secondary);
|
2020-07-18 22:44:17 +02:00
|
|
|
font-size: var(--scale4);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
h3 {
|
2021-03-19 13:40:49 +01:00
|
|
|
color: var(--color-accent);
|
2020-07-18 22:44:17 +02:00
|
|
|
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 {
|
2021-03-19 13:40:49 +01:00
|
|
|
border-left: 0.2em solid var(--color-muted);
|
2020-07-18 22:44:17 +02:00
|
|
|
padding-left: 1em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
|
|
|
cite {
|
2021-03-19 13:40:49 +01:00
|
|
|
color: var(--color-secondary);
|
2020-07-18 22:44:17 +02:00
|
|
|
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 {
|
|
|
|
margin-right: 0.2em;
|
|
|
|
vertical-align: -0.2em;
|
|
|
|
}
|
|
|
|
|
2020-10-31 13:19:52 +01:00
|
|
|
.masthead {
|
2021-03-19 13:40:49 +01:00
|
|
|
background: var(--color-muted);
|
2020-07-18 22:44:17 +02:00
|
|
|
display: inherit;
|
|
|
|
gap: inherit;
|
|
|
|
grid-column: full;
|
|
|
|
grid-template-columns: inherit;
|
|
|
|
padding: 4em 0;
|
2021-06-20 22:37:59 +02:00
|
|
|
text-align: center;
|
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
|
|
|
|
2021-06-20 16:23:55 +02:00
|
|
|
.masthead > img {
|
|
|
|
border-radius: 50%;
|
2021-06-20 22:37:59 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 12em;
|
2021-06-20 16:23:55 +02:00
|
|
|
}
|
|
|
|
|
2020-10-31 13:19:52 +01:00
|
|
|
article > * + *,
|
|
|
|
blockquote > * + * {
|
|
|
|
margin-top: 0.6em;
|
|
|
|
}
|
|
|
|
|
2021-11-11 10:43:03 +01:00
|
|
|
.meta {
|
|
|
|
color: var(--color-secondary);
|
|
|
|
}
|
|
|
|
|
2020-07-26 00:18:06 +02:00
|
|
|
.stack {
|
|
|
|
display: grid;
|
|
|
|
gap: 1.5em;
|
|
|
|
}
|
|
|
|
|
2021-03-03 19:42:34 +01:00
|
|
|
.icon-list {
|
2022-03-08 12:43:57 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.4em 1em;
|
|
|
|
justify-content: center;
|
2021-03-03 19:42:34 +01:00
|
|
|
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
|
|
|
|
|
|
|
.tag-list {
|
|
|
|
display: flex;
|
2020-07-26 00:05:15 +02:00
|
|
|
flex-wrap: wrap;
|
2022-03-08 12:56:28 +01:00
|
|
|
gap: 0.4em;
|
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 {
|
2021-03-19 13:40:49 +01:00
|
|
|
background: var(--color-muted);
|
2022-03-08 12:56:28 +01:00
|
|
|
border-radius: 0.2em;
|
2020-07-18 22:44:17 +02:00
|
|
|
padding: 0.2em 0.6em;
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
2020-07-18 22:44:17 +02:00
|
|
|
|
2021-11-10 23:41:05 +01:00
|
|
|
.bullet-item:not(:first-child)::before {
|
|
|
|
content: '· ';
|
|
|
|
margin: 0 0.2em;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2021-06-20 22:37:59 +02:00
|
|
|
.masthead {
|
|
|
|
text-align: inherit;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2021-06-20 22:37:59 +02:00
|
|
|
.masthead img {
|
|
|
|
grid-column: side;
|
|
|
|
grid-row: span 2;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2022-03-08 12:43:57 +01:00
|
|
|
.icon-list {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2020-07-18 22:44:17 +02:00
|
|
|
.grid-list {
|
2022-03-08 13:02:56 +01:00
|
|
|
grid-template-columns: repeat(
|
|
|
|
auto-fit,
|
|
|
|
minmax(calc((100% - 1em) / 2), 1fr)
|
|
|
|
);
|
2018-09-23 20:28:05 +02:00
|
|
|
}
|
|
|
|
}
|