2021-03-05 19:35:05 +01:00
|
|
|
:root {
|
2022-01-07 21:26:29 +01:00
|
|
|
--background: hsl(210, 21%, 15%);
|
|
|
|
--border: hsl(210, 21%, 20%);
|
|
|
|
--text: hsl(210, 21%, 95%);
|
|
|
|
--text-2: hsl(210, 21%, 80%);
|
|
|
|
--vriish-red: hsl(0, 100%, 75%);
|
|
|
|
--rose: hsl(0, 100%, 75%);
|
|
|
|
--orange: hsl(25, 100%, 75%);
|
|
|
|
--gold: hsl(50, 100%, 75%);
|
|
|
|
--emerald: hsl(130, 100%, 75%);
|
|
|
|
--sky: hsl(215, 100%, 75%);
|
|
|
|
--purpur: hsl(275, 100%, 75%);
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
2021-08-27 19:04:04 +02:00
|
|
|
--background: rgb(255, 245, 235);
|
|
|
|
--border: rgb(225, 215, 205);
|
|
|
|
--text: rgb(50, 40, 30);
|
|
|
|
--text-2: rgb(90, 80, 70);
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
2022-01-07 21:26:29 +01:00
|
|
|
scrollbar-color: var(--vriish-red) var(--background);
|
2021-03-05 19:35:05 +01:00
|
|
|
scrollbar-width: thin;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
background: var(--background);
|
|
|
|
width: 6px;
|
|
|
|
}
|
2022-01-07 21:26:29 +01:00
|
|
|
&::-webkit-scrollbar-thumb { background: var(--vriish-red); }
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--text);
|
|
|
|
display: grid;
|
|
|
|
font-family: system-ui, sans-serif;
|
|
|
|
font-size: 1.2em;
|
2021-05-24 22:24:06 +02:00
|
|
|
line-height: 1.7;
|
2021-03-05 19:35:05 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-01-06 21:00:56 +01:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
line-height: 1em;
|
|
|
|
margin: .8em 0;
|
|
|
|
}
|
|
|
|
|
2021-03-05 19:35:05 +01:00
|
|
|
a {
|
|
|
|
color: var(--text);
|
|
|
|
text-decoration: underline;
|
2022-01-07 21:26:29 +01:00
|
|
|
text-decoration-color: var(--vriish-red);
|
2021-03-07 16:06:50 +01:00
|
|
|
text-underline-offset: 3px;
|
|
|
|
transition: text-decoration-color .2s;
|
|
|
|
&:hover { text-decoration-color: var(--text); }
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
|
2021-05-24 22:24:06 +02:00
|
|
|
center {
|
|
|
|
margin: 19.2px 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-05-15 17:42:34 +02:00
|
|
|
pre {
|
2022-01-07 21:26:29 +01:00
|
|
|
border: 1px solid var(--vriish-red);
|
2021-05-14 15:10:36 +02:00
|
|
|
border-radius: 4px;
|
2021-07-29 14:34:03 +02:00
|
|
|
overflow: auto;
|
|
|
|
padding: 10px 15px;
|
2021-05-14 15:10:36 +02:00
|
|
|
}
|
|
|
|
|
2022-01-06 21:00:56 +01:00
|
|
|
p {
|
|
|
|
hyphens: auto;
|
|
|
|
img {
|
|
|
|
border: 2px solid var(--border);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2021-05-15 20:55:56 +02:00
|
|
|
}
|
|
|
|
|
2021-03-05 19:35:05 +01:00
|
|
|
hr {
|
2021-08-27 19:04:04 +02:00
|
|
|
border: 1px solid var(--border);
|
2021-05-24 22:24:06 +02:00
|
|
|
color: var(--border);
|
2021-03-05 19:35:05 +01:00
|
|
|
margin: 60px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------
|
|
|
|
// - header / nav; footer -
|
|
|
|
// ------------------------
|
|
|
|
header, footer {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 1140px;
|
2021-08-27 19:04:04 +02:00
|
|
|
overflow: auto;
|
2021-05-30 10:45:46 +02:00
|
|
|
white-space: nowrap;
|
2021-03-05 19:35:05 +01:00
|
|
|
width: 100%;
|
|
|
|
a {
|
2021-08-27 19:04:04 +02:00
|
|
|
color: var(--text-2);
|
2021-03-05 19:35:05 +01:00
|
|
|
padding: 17.6px 15px;
|
|
|
|
text-decoration-color: var(--background);
|
|
|
|
text-decoration-thickness: 2px !important;
|
2021-03-07 16:06:50 +01:00
|
|
|
text-underline-offset: 6px;
|
2021-03-05 19:35:05 +01:00
|
|
|
margin: 0 15px;
|
2022-01-07 21:26:29 +01:00
|
|
|
&:hover { text-decoration-color: var(--vriish-red); }
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
h1 {
|
|
|
|
display: flex;
|
|
|
|
font-size: 1em;
|
|
|
|
margin: 0;
|
2021-08-27 19:04:04 +02:00
|
|
|
a {
|
2022-01-07 21:26:29 +01:00
|
|
|
color: var(--vriish-red);
|
2021-08-27 19:04:04 +02:00
|
|
|
}
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
}
|
2021-06-13 12:38:02 +02:00
|
|
|
aside {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
footer {
|
|
|
|
border-top: 1px solid var(--border);
|
2021-08-27 19:04:04 +02:00
|
|
|
color: var(--text-2);
|
|
|
|
a { color: var(--text-2); }
|
2021-03-05 19:35:05 +01:00
|
|
|
span {
|
|
|
|
padding: 17.6px 30px;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// --------
|
|
|
|
// - main -
|
|
|
|
// --------
|
|
|
|
main {
|
2021-03-07 16:06:50 +01:00
|
|
|
margin: 20px auto;
|
2021-03-05 19:35:05 +01:00
|
|
|
max-width: 720px;
|
2021-05-15 17:42:34 +02:00
|
|
|
overflow: hidden;
|
2021-03-05 19:35:05 +01:00
|
|
|
padding: 30px;
|
|
|
|
width: 100%;
|
|
|
|
span { font-size: .8em; }
|
|
|
|
}
|
2021-05-15 21:16:03 +02:00
|
|
|
|
2022-01-24 19:54:58 +01:00
|
|
|
#rainbow-heading {
|
2022-01-06 21:00:56 +01:00
|
|
|
animation: rainbow-swoosh;
|
|
|
|
animation-duration: 30000s;
|
|
|
|
animation-iteration-count: infinite;
|
2022-01-07 21:26:29 +01:00
|
|
|
background-image: linear-gradient(135deg, var(--purpur) 14.29%, var(--rose) 14.29%, var(--rose) 28.57%, var(--orange) 28.57%, var(--orange) 42.86%, var(--gold) 42.86%, var(--gold) 57.14%, var(--emerald) 57.14%, var(--emerald) 71.43%, var(--sky) 71.43%, var(--sky) 85.71%, var(--purpur) 85.71%);
|
2022-01-06 21:00:56 +01:00
|
|
|
background-clip: text;
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
color: transparent;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0.55em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
span[title="Freude"], span[title="happiness"] {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2021-05-15 21:16:03 +02:00
|
|
|
p.date-published {
|
2022-01-06 21:00:56 +01:00
|
|
|
margin-bottom: -1.5em;
|
2021-05-15 21:16:03 +02:00
|
|
|
font-size: smaller;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2021-05-30 10:45:46 +02:00
|
|
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
main {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2022-01-06 21:00:56 +01:00
|
|
|
|
|
|
|
@keyframes rainbow-swoosh {
|
|
|
|
0% { background-position-x: 0px; }
|
|
|
|
50% { background-position-x: 999999px; }
|
|
|
|
100% { background-position-x: 0px; }
|
|
|
|
}
|