2021-03-05 19:35:05 +01:00
|
|
|
:root {
|
2021-08-27 19:04:04 +02:00
|
|
|
--background: rgb(30, 40, 50);
|
|
|
|
--border: rgb(50, 60, 70);
|
|
|
|
--text: rgb(235, 245, 255);
|
|
|
|
--text-2: rgb(165, 175, 185);
|
2021-03-05 19:35:05 +01:00
|
|
|
--vrifox-red: rgb(255, 130, 130);
|
|
|
|
}
|
|
|
|
@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;
|
|
|
|
scrollbar-color: var(--vrifox-red) var(--background);
|
|
|
|
scrollbar-width: thin;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
background: var(--background);
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb { background: var(--vrifox-red); }
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--text);
|
|
|
|
text-decoration: underline;
|
|
|
|
text-decoration-color: var(--vrifox-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 {
|
2021-07-29 14:34:03 +02:00
|
|
|
border: 1px solid var(--vrifox-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
|
|
|
}
|
|
|
|
|
2021-05-15 20:55:56 +02:00
|
|
|
p img {
|
|
|
|
border: 2px solid var(--border);
|
|
|
|
border-radius: 4px;
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
&:hover { text-decoration-color: var(--vrifox-red); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
h1 {
|
|
|
|
display: flex;
|
|
|
|
font-size: 1em;
|
|
|
|
margin: 0;
|
2021-08-27 19:04:04 +02:00
|
|
|
a {
|
|
|
|
color: var(--vrifox-red);
|
|
|
|
}
|
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
|
|
|
|
|
|
|
p.date-published {
|
|
|
|
margin-bottom: -30px;
|
|
|
|
font-size: smaller;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2021-05-30 10:45:46 +02:00
|
|
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
main {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|