2023-02-22 22:12:52 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: Merriweather;
|
|
|
|
src: url(/static/f/Merriweather-Light.woff2);
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Merriweather;
|
|
|
|
src: url(/static/f/Merriweather-LightItalic.woff2);
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Merriweather;
|
|
|
|
src: url(/static/f/Merriweather-Bold.woff2);
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Merriweather;
|
|
|
|
src: url(/static/f/Merriweather-BoldItalic.woff2);
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "Roboto Slab";
|
|
|
|
src: url(/static/f/RobotoSlab-Medium.woff2);
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2022-06-23 05:58:54 +00:00
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2023-01-01 00:00:52 +00:00
|
|
|
:root.theme-system {
|
2023-02-22 22:12:52 +00:00
|
|
|
--bg: #131720;
|
|
|
|
--bg-intense: #000000;
|
|
|
|
--bg-faded: #293441;
|
|
|
|
--fg: #e6ded6;
|
|
|
|
--fg-faded: #908a81;
|
|
|
|
--accent-1: #2aca98;
|
|
|
|
--accent-1-dark: #268d78;
|
2022-06-23 05:58:54 +00:00
|
|
|
--error: #ee6d7d;
|
|
|
|
}
|
|
|
|
.only-theme-light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
2023-01-01 00:00:52 +00:00
|
|
|
:root.theme-system {
|
2022-06-23 05:58:54 +00:00
|
|
|
--bg: #f6f5f2;
|
|
|
|
--bg-intense: #ffffff;
|
|
|
|
--bg-faded: #cbc4c7;
|
|
|
|
--fg: #28262b;
|
|
|
|
--fg-faded: #989097;
|
|
|
|
--accent-1: #0642c3;
|
|
|
|
--accent-1-dark: #07136d;
|
|
|
|
--accent-2: #0f7904;
|
|
|
|
--accent-2-dark: #094a05;
|
|
|
|
--error: #a50518;
|
|
|
|
}
|
|
|
|
.only-theme-dark {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-01 00:00:52 +00:00
|
|
|
:root.theme-dark {
|
2023-02-22 22:12:52 +00:00
|
|
|
--bg: #131720;
|
|
|
|
--bg-intense: #000000;
|
|
|
|
--bg-faded: #293441;
|
|
|
|
--fg: #e6ded6;
|
|
|
|
--fg-faded: #908a81;
|
|
|
|
--accent-1: #2aca98;
|
|
|
|
--accent-1-dark: #268d78;
|
2022-06-23 05:58:54 +00:00
|
|
|
--error: #ee6d7d;
|
|
|
|
}
|
|
|
|
|
2023-01-01 00:00:52 +00:00
|
|
|
:root.theme-light {
|
2022-06-23 05:58:54 +00:00
|
|
|
--bg: #f6f5f2;
|
|
|
|
--bg-intense: #ffffff;
|
|
|
|
--bg-faded: #cbc4c7;
|
|
|
|
--fg: #28262b;
|
|
|
|
--fg-faded: #989097;
|
|
|
|
--accent-1: #0642c3;
|
|
|
|
--accent-1-dark: #07136d;
|
|
|
|
--error: #a50518;
|
|
|
|
}
|
|
|
|
|
2023-01-01 00:00:52 +00:00
|
|
|
:root.theme-special {
|
2022-06-23 05:58:54 +00:00
|
|
|
--bg: #ffff00;
|
|
|
|
--bg-intense: #ffffff;
|
|
|
|
--bg-faded: #00ff00;
|
|
|
|
--fg: #ff00ff;
|
|
|
|
--fg-faded: #ff0000;
|
|
|
|
--accent-1: #00ffff;
|
|
|
|
--accent-1-dark: #0000ff;
|
2023-02-22 22:12:52 +00:00
|
|
|
--error: #000000;
|
2022-06-23 05:58:54 +00:00
|
|
|
font-family: "Comic Sans MS", cursive;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
color: var(--fg);
|
2023-02-22 22:12:52 +00:00
|
|
|
--text-fonts: "Merriweather", "DejaVu Serif", serif;
|
|
|
|
font-family: var(--text-fonts);
|
|
|
|
font-size: 19px;
|
2022-06-23 05:58:54 +00:00
|
|
|
font-weight: 400;
|
2023-02-22 22:12:52 +00:00
|
|
|
line-height: 1.6;
|
2022-06-23 05:58:54 +00:00
|
|
|
--link: var(--accent-1);
|
|
|
|
--link-hover: var(--accent-1-dark);
|
|
|
|
--link-active: var(--accent-1-dark);
|
|
|
|
--button: var(--bg-intense);
|
|
|
|
--button-hover: var(--bg-faded);
|
2023-02-22 22:12:52 +00:00
|
|
|
--button-active: var(--accent-1-dark);
|
2022-06-23 05:58:54 +00:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, nav {
|
|
|
|
font-family: "Roboto Slab", serif;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-top: 16px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
width: fit-content;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-02-22 22:12:52 +00:00
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 0px;
|
2022-06-23 05:58:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background: var(--bg);
|
|
|
|
width: min(750px, 90vw);
|
|
|
|
margin: auto;
|
|
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2023-02-22 22:12:52 +00:00
|
|
|
hr {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
padding-left: 10px;
|
|
|
|
background-color: var(--bg-intense);
|
|
|
|
}
|
|
|
|
|
2022-06-23 05:58:54 +00:00
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
color: var(--fg-faded);
|
|
|
|
margin-top: auto;
|
|
|
|
flex-shrink: 0;
|
|
|
|
min-height: 50px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer code {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
padding-top: 10px;
|
|
|
|
width: fit-content;
|
|
|
|
margin: auto;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav > svg {
|
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
|
|
|
height: 20px;
|
|
|
|
width: auto;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 10px;
|
|
|
|
fill: var(--fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
nav > a {
|
|
|
|
color: var(--fg);
|
|
|
|
text-decoration: none;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav > a:hover { color: var(--fg-faded); }
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--link);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-10-18 14:27:37 +00:00
|
|
|
:root[theme="contrast"] a, :root[theme="contrast-dark"] a {
|
2022-06-23 05:58:54 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover { color: var(--link-hover); }
|
|
|
|
|
|
|
|
a:active { color: var(--link-active); }
|
|
|
|
|
|
|
|
.faded {
|
|
|
|
color: var(--fg-faded);
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2022-10-26 02:54:05 +00:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2022-06-23 05:58:54 +00:00
|
|
|
}
|
|
|
|
|
2022-12-24 06:37:56 +00:00
|
|
|
blockquote {
|
|
|
|
border-left: 2px solid var(--fg-faded);
|
|
|
|
margin-left: 2px;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
2022-06-23 05:58:54 +00:00
|
|
|
code, pre {
|
|
|
|
background-color: var(--bg-intense);
|
|
|
|
padding-left: 3px;
|
|
|
|
padding-right: 3px;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-family: "Fira Mono", monospace;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
padding-left: 12px;
|
2023-02-22 22:12:52 +00:00
|
|
|
border-left: 5px solid var(--accent-1-dark);
|
2022-06-23 05:58:54 +00:00
|
|
|
}
|
|
|
|
|
2022-10-18 14:27:37 +00:00
|
|
|
button, input, select, textarea {
|
2022-06-23 05:58:54 +00:00
|
|
|
color: var(--fg);
|
|
|
|
background-color: var(--bg-faded);
|
|
|
|
border: 2px solid var(--fg-faded);
|
|
|
|
border-radius: 3px;
|
2023-02-22 22:12:52 +00:00
|
|
|
font-family: var(--text-fonts);
|
2022-06-23 05:58:54 +00:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:active, input[type=button]:active {
|
|
|
|
background-color: var(--bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
button:active, input[type=button]:active {
|
|
|
|
background-color: var(--bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.error {
|
|
|
|
color: var(--error);
|
2022-10-18 14:27:37 +00:00
|
|
|
}
|