2023-12-11 14:49:29 +00:00
|
|
|
:root {
|
|
|
|
color-scheme: light dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and not (prefers-color-scheme: light) {
|
|
|
|
html {
|
|
|
|
--foreground-color: lab(90 50 -80);
|
|
|
|
--background-color: lab(0 50 -30);
|
|
|
|
--link-color: lab(80 40 100);
|
|
|
|
--visited-link-color: lab(70 10 15);
|
|
|
|
--banner-ascii-color: lab(90 -40 20 / 0.8);
|
2024-01-15 00:55:28 +00:00
|
|
|
--banner-background-color: lab(0 5 1 / 0.6);
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (prefers-color-scheme: light) {
|
|
|
|
html {
|
2024-01-15 00:55:28 +00:00
|
|
|
--foreground-color: lab(10 90 -90);
|
2023-12-11 14:49:29 +00:00
|
|
|
--background-color: lab(90 50 -30);
|
2024-01-15 00:55:28 +00:00
|
|
|
--link-color: lab(20 30 -20);
|
|
|
|
--visited-link-color: lab(20 90 -90);
|
2023-12-11 14:49:29 +00:00
|
|
|
--banner-ascii-color: lab(10 -40 20 / 0.8);
|
2024-01-15 00:55:28 +00:00
|
|
|
--banner-background-color: lab(90 -15 20 / 0.6);
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
padding: 20px;
|
2024-01-15 00:55:28 +00:00
|
|
|
overflow-wrap: break-word;
|
2023-12-11 14:49:29 +00:00
|
|
|
color: var(--foreground-color);
|
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
color: var(--background-color);
|
|
|
|
background-color: var(--visited-link-color);
|
2024-02-09 03:34:57 +00:00
|
|
|
padding: 2px 10px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2024-02-09 03:34:57 +00:00
|
|
|
margin: 2px 0px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
2024-02-09 03:34:57 +00:00
|
|
|
div.noscript p {
|
2023-12-11 14:49:29 +00:00
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
|
2024-02-09 03:34:57 +00:00
|
|
|
div.hx-target section {
|
2023-12-11 14:49:29 +00:00
|
|
|
border: solid 1px var(--link-color);
|
|
|
|
border-radius: 4px;
|
2024-02-09 03:34:57 +00:00
|
|
|
padding: 5px 10px;
|
|
|
|
margin: 3px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
2024-02-09 03:34:57 +00:00
|
|
|
div.hx-target footer {
|
2024-01-19 02:45:31 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-12-11 14:49:29 +00:00
|
|
|
a {
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
font-size: small;
|
|
|
|
color: var(--link-color);
|
2024-01-21 23:47:21 +00:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: var(--visited-link-color);
|
|
|
|
text-decoration-color: var(--link-color);
|
|
|
|
}
|
|
|
|
|
2024-01-19 03:48:15 +00:00
|
|
|
a:not(.ascii a):not(a[hx-get*="hx"])::before {
|
2024-01-19 02:45:31 +00:00
|
|
|
content: ". -> . ";
|
|
|
|
color: var(--foreground-color);
|
|
|
|
font-weight: 900;
|
|
|
|
}
|
|
|
|
|
2023-12-11 14:49:29 +00:00
|
|
|
body {
|
2024-02-09 03:34:57 +00:00
|
|
|
max-width: 600px;
|
2023-12-11 14:49:29 +00:00
|
|
|
margin: auto;
|
|
|
|
font-size: medium;
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
header{
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
div.banner p.ascii {
|
|
|
|
font-size: 5px;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
max-width: 375px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
|
|
div.banner {
|
|
|
|
padding: 0 auto;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
max-width: 800px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.banner {
|
|
|
|
width: max-content;
|
|
|
|
margin: auto;
|
2024-01-15 00:55:28 +00:00
|
|
|
background-color: var(--banner-background-color);
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
div.banner p.ascii {
|
|
|
|
color: var(--banner-ascii-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav a {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2024-02-09 03:34:57 +00:00
|
|
|
margin: 12px 0px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.tag-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2024-01-21 23:47:21 +00:00
|
|
|
flex-wrap: wrap;
|
2024-02-09 03:34:57 +00:00
|
|
|
margin: 6px 0px;
|
|
|
|
padding: 0px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li.tag-item {
|
|
|
|
list-style-type: none;
|
|
|
|
flex-basis: fit-content;
|
2024-02-09 03:34:57 +00:00
|
|
|
margin: 0px 6px;
|
2023-12-11 14:49:29 +00:00
|
|
|
}
|
|
|
|
|
2024-01-25 21:41:03 +00:00
|
|
|
img {
|
|
|
|
width: 96%;
|
|
|
|
margin: 2%;
|
|
|
|
border-color: var(--foreground-color);
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|