2021-03-05 19:35:05 +01:00
|
|
|
:root {
|
2021-05-14 11:52:47 +02:00
|
|
|
--background: rgb(20, 40, 60);
|
2021-05-14 12:05:02 +02:00
|
|
|
--border: rgb(40, 60, 80);
|
2021-03-05 19:35:05 +01:00
|
|
|
--text: rgb(255, 255, 255);
|
|
|
|
--vrifox-red: rgb(255, 130, 130);
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--background: rgb(255, 255, 255);
|
|
|
|
--border: rgb(215, 215, 215);
|
|
|
|
--text: rgb(0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
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;
|
|
|
|
line-height: 1.8;
|
|
|
|
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-14 12:05:02 +02:00
|
|
|
code {
|
|
|
|
padding: 6px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: var(--border);
|
|
|
|
}
|
|
|
|
|
2021-05-14 15:10:36 +02:00
|
|
|
pre.chroma {
|
|
|
|
background: var(--border);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
|
2021-03-05 19:35:05 +01:00
|
|
|
hr {
|
|
|
|
border-color: var(--text);
|
|
|
|
color: var(--text);
|
|
|
|
margin: 60px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------
|
|
|
|
// - header / nav; footer -
|
|
|
|
// ------------------------
|
|
|
|
header, footer {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 1140px;
|
|
|
|
min-height: 64px;
|
|
|
|
width: 100%;
|
|
|
|
a {
|
|
|
|
color: var(--text);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
footer {
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
color: var(--text);
|
|
|
|
a { color: var(--text); }
|
|
|
|
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;
|
|
|
|
padding: 30px;
|
|
|
|
width: 100%;
|
|
|
|
span { font-size: .8em; }
|
|
|
|
}
|