2024-04-23 22:43:13 +10:00
|
|
|
@font-face {
|
|
|
|
font-family: "Fira Code VF";
|
|
|
|
src: url("/assets/fonts/FiraCode-VF/FiraCode-VF.woff2") format("woff2-variations"), url("/assets/fonts/FiraCode-VF/FiraCode-VF.woff") format("woff-variations");
|
|
|
|
font-weight: 200 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* This is going to be quite long */
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-ExtraLight.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-ExtraLight.woff") format("woff");
|
|
|
|
font-weight: 200;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-ExtraLightItalic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-ExtraLightItalic.woff") format("woff");
|
|
|
|
font-weight: 200;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-Light.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-Light.woff") format("woff");
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-LightItalic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-LightItalic.woff") format("woff");
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-Regular.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-Regular.woff") format("woff");
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-Italic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-Italic.woff") format("woff");
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-Medium.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-Medium.woff") format("woff");
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-MediumItalic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-MediumItalic.woff") format("woff");
|
|
|
|
font-weight: 500;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-SemiBold.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-SemiBold.woff") format("woff");
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-SemiBoldItalic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-SemiBoldItalic.woff") format("woff");
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-Bold.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-Bold.woff") format("woff");
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-BoldItalic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-BoldItalic.woff") format("woff");
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-ExtraBold.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-ExtraBold.woff") format("woff");
|
|
|
|
font-weight: 800;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "FiraGO";
|
|
|
|
src: url("/assets/fonts/FiraGO/FiraGO-ExtraBoldItalic.woff2") format("woff2"), url("/assets/fonts/FiraGO/FiraGO-ExtraBoldItalic.woff") format("woff");
|
|
|
|
font-weight: 800;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--accent: hsl(287, 50%, 59%);
|
|
|
|
--accent-2: hsl(287, 50%, 39%);
|
|
|
|
--background: hsl(302, 69%, 95%);
|
|
|
|
--background-2: hsl(302, 69%, 90%);
|
|
|
|
--foreground: hsl(302, 69%, 10%);
|
|
|
|
--success: hsl(110, 50%, 59%);
|
|
|
|
--warn: hsl(30, 50%, 59%);
|
|
|
|
--error: hsl(0, 50%, 59%);
|
|
|
|
|
|
|
|
--radius: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
/* Display */
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
/* Colors */
|
|
|
|
background-color: var(--background);
|
|
|
|
color: var(--foreground);
|
|
|
|
|
|
|
|
font-family: "FiraGO", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
article:first-of-type,
|
|
|
|
main:first-of-type {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 1rem;
|
|
|
|
max-width: 768px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
border-bottom: 2px solid var(--accent-2);
|
|
|
|
font-size: xx-large;
|
2024-06-05 20:13:45 +10:00
|
|
|
font-weight: bolder;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
border-bottom: 1px solid var(--accent-2);
|
|
|
|
font-size: x-large;
|
2024-06-05 20:13:45 +10:00
|
|
|
font-weight: bold;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: large;
|
2024-06-05 20:13:45 +10:00
|
|
|
font-weight: bold;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: medium;
|
2024-06-05 20:13:45 +10:00
|
|
|
font-weight: bold;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2024-06-05 20:13:45 +10:00
|
|
|
font-size: medium;
|
|
|
|
font-weight: bold;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2024-06-05 20:13:45 +10:00
|
|
|
font-size: medium;
|
|
|
|
font-weight: bold;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
2024-04-24 01:29:43 +10:00
|
|
|
article {
|
|
|
|
counter-reset: h2 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article h2 {
|
|
|
|
counter-increment: h2 1;
|
|
|
|
counter-reset: h3 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article h2::before {
|
|
|
|
content: counter(h2) ". ";
|
|
|
|
}
|
|
|
|
|
|
|
|
article h3 {
|
|
|
|
counter-increment: h3 1;
|
|
|
|
counter-reset: h4 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article h3::before {
|
|
|
|
content: counter(h2) "." counter(h3) ". ";
|
|
|
|
}
|
|
|
|
|
|
|
|
article h4 {
|
|
|
|
counter-increment: h4 1;
|
|
|
|
counter-reset: h5 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article h4::before {
|
|
|
|
content: counter(h2) "." counter(h3) "." counter(h4) ". ";
|
|
|
|
}
|
|
|
|
|
|
|
|
article h5 {
|
|
|
|
counter-increment: h5 1;
|
|
|
|
counter-reset: h6 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
article h5::before {
|
|
|
|
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". ";
|
|
|
|
}
|
|
|
|
|
|
|
|
article h6 {
|
|
|
|
counter-increment: h6 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
article h6::before {
|
|
|
|
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". ";
|
|
|
|
}
|
|
|
|
|
2024-04-23 22:43:13 +10:00
|
|
|
a {
|
|
|
|
padding-left: 0.15em;
|
|
|
|
padding-right: 0.15em;
|
|
|
|
color: var(--accent);
|
|
|
|
text-underline-offset: 0.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[target="_blank"]:not(:has(>img))::after {
|
|
|
|
content: "↗";
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: var(--accent-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:not(:has(>img)):hover {
|
|
|
|
background-color: var(--accent);
|
|
|
|
color: var(--background);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:not(:has(>img)):visited:hover {
|
|
|
|
background-color: var(--accent-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
dt::after {
|
|
|
|
content: ": ";
|
|
|
|
}
|
|
|
|
|
|
|
|
img,
|
|
|
|
video {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote>:not(footer):first-of-type::before {
|
|
|
|
content: open-quote;
|
|
|
|
color: var(--accent);
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote>:not(footer):last-of-type::after {
|
|
|
|
content: close-quote;
|
|
|
|
color: var(--accent);
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote footer::before {
|
|
|
|
content: "— ";
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding-left: 0.15em;
|
|
|
|
padding-right: 0.15em;
|
|
|
|
background-color: var(--background-2);
|
|
|
|
font-family: "Fira Code VF", monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5rem;
|
|
|
|
overflow-x: scroll;
|
|
|
|
|
2024-04-24 17:28:26 +10:00
|
|
|
background-color: #1a1b26;
|
|
|
|
color: #c0caf5;
|
|
|
|
border: 1px solid #c0caf5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code highlighting */
|
2024-11-18 17:08:22 +10:00
|
|
|
.language-html,
|
|
|
|
.language-md {
|
|
|
|
color: #9aa5ce;
|
2024-04-24 17:28:26 +10:00
|
|
|
}
|
|
|
|
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.keyword,
|
|
|
|
.token.tag {
|
2024-04-24 17:28:26 +10:00
|
|
|
color: #f7768e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.boolean,
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.number {
|
2024-04-24 17:28:26 +10:00
|
|
|
color: #ff9e64;
|
|
|
|
}
|
|
|
|
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.parameter,
|
|
|
|
.regex-source {
|
|
|
|
color: #e0af68;
|
2024-04-24 17:28:26 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.string,
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.selector {
|
2024-04-24 17:28:26 +10:00
|
|
|
color: #9ece6a;
|
|
|
|
}
|
|
|
|
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.property,
|
|
|
|
.token.regex-flags,
|
|
|
|
.token.title {
|
|
|
|
color: #7dcfff;
|
2024-04-24 17:28:26 +10:00
|
|
|
}
|
|
|
|
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.literal-property,
|
|
|
|
.token.url {
|
|
|
|
color: #73daca;
|
2024-04-24 17:28:26 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.function {
|
|
|
|
color: #7aa2f7;
|
|
|
|
}
|
|
|
|
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.operator,
|
|
|
|
.token.attr-name {
|
|
|
|
color: #bb9af7;
|
2024-04-24 17:28:26 +10:00
|
|
|
}
|
|
|
|
|
2024-11-18 17:08:22 +10:00
|
|
|
.token.constant,
|
|
|
|
.token.environment,
|
|
|
|
.token.class-name {
|
|
|
|
color: #c0caf5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.comment {
|
|
|
|
color: #565f89;
|
2024-04-24 17:28:26 +10:00
|
|
|
font-style: italic;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
details {
|
|
|
|
border-left: 2px solid var(--accent-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
details[open] {
|
|
|
|
padding-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
details+details {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
details>* {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
details>summary {
|
|
|
|
margin-left: 0;
|
|
|
|
padding: 0.5em;
|
|
|
|
width: fit-content;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
background-color: var(--accent-2);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
|
|
|
|
background-color: var(--background-2);
|
|
|
|
border-radius: var(--radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
mark {
|
|
|
|
padding-left: 0.25em;
|
|
|
|
padding-right: 0.25em;
|
|
|
|
|
|
|
|
background-color: var(--accent);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow-x: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.rows tbody tr {
|
|
|
|
background-color: var(--background-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
table.rows tbody tr:nth-child(2n) {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-y {
|
|
|
|
background-color: var(--success);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-p {
|
|
|
|
background-color: var(--warn);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-n {
|
|
|
|
background-color: var(--error);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2024-11-18 17:50:20 +10:00
|
|
|
.icon-link>a,
|
|
|
|
.icon-link>span {
|
|
|
|
padding-left: 0.15rem;
|
2024-04-23 22:43:13 +10:00
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-link>img {
|
|
|
|
display: inline-block;
|
|
|
|
width: 2em;
|
|
|
|
max-height: 2em;
|
|
|
|
vertical-align: middle;
|
2024-11-18 17:50:20 +10:00
|
|
|
margin-right: 0.25rem;
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
display: block;
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
|
|
border: 2px dashed var(--warn);
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice::before {
|
|
|
|
content: "🛈 Notice";
|
|
|
|
color: var(--warn);
|
|
|
|
font-size: larger;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice>p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice>p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upper {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background-color: var(--accent);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--accent-2: hsl(287, 50%, 79%);
|
|
|
|
--background: hsl(302, 69%, 10%);
|
|
|
|
--background-2: hsl(302, 69%, 5%);
|
|
|
|
--foreground: hsl(302, 69%, 95%);
|
|
|
|
}
|
2024-11-18 17:50:20 +10:00
|
|
|
|
|
|
|
.icon-link>img.invert {
|
|
|
|
filter: hue-rotate(180deg) invert();
|
|
|
|
}
|
2024-04-23 22:43:13 +10:00
|
|
|
}
|