2023-08-31 00:38:44 +00:00
|
|
|
* {
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
2023-10-13 00:55:20 +00:00
|
|
|
font-size: 16px;
|
2023-08-31 00:38:44 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
scroll-behavior: smooth;
|
2023-10-13 01:40:40 +00:00
|
|
|
scrollbar-color: var(--accent-color) transparent;
|
2023-10-13 00:55:20 +00:00
|
|
|
accent-color: var(--accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-device-width: 480px) {
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2023-10-13 00:55:20 +00:00
|
|
|
font-family: "Inter", sans-serif;
|
2023-08-31 00:38:44 +00:00
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.6;
|
|
|
|
color: var(--text);
|
|
|
|
background-color: var(--background);
|
2023-10-13 00:55:20 +00:00
|
|
|
// ⇩⇩ put footer at the bottom for short pages, such as the 404 ⇩⇩
|
2023-08-31 00:38:44 +00:00
|
|
|
display: grid;
|
|
|
|
min-height: 100vh;
|
2023-10-13 00:55:20 +00:00
|
|
|
grid-template-rows: auto minmax(auto, 1fr) auto; // header, stuff, footer
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
html {
|
|
|
|
background-color: var(--dark5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
::selection {
|
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--accent-color);
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
:target {
|
|
|
|
scroll-margin-top: 25vh;
|
2023-10-13 00:55:20 +00:00
|
|
|
animation: fade-in-out var(--transition-long);
|
2023-08-31 00:38:44 +00:00
|
|
|
animation-delay: 1s;
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
@keyframes fade-in-out {
|
2023-08-31 00:38:44 +00:00
|
|
|
0% {
|
2023-10-13 00:55:20 +00:00
|
|
|
color: initial;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
50% {
|
2023-10-13 00:55:20 +00:00
|
|
|
color: var(--accent-color);
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
100% {
|
2023-10-13 00:55:20 +00:00
|
|
|
color: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// LAYOUT
|
|
|
|
.container {
|
|
|
|
width: 80%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: var(--content-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-device-width: 480px) {
|
|
|
|
// MOBILE
|
|
|
|
.container {
|
|
|
|
width: 90%;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin: 3rem 0 1rem;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2023-10-13 00:55:20 +00:00
|
|
|
font-size: 2em;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2023-10-13 00:55:20 +00:00
|
|
|
font-size: 1.4em;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: 600;
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--accent-color);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
b {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
small {
|
|
|
|
color: var(--fg50);
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl dt {
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 1rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl dd {
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
margin: 3rem auto 4rem;
|
|
|
|
width: 40%;
|
|
|
|
opacity: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
padding: 0 1rem;
|
|
|
|
margin-left: 0;
|
|
|
|
color: var(--fg40);
|
|
|
|
border-left: 0.3rem solid var(--fg07);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
abbr {
|
|
|
|
cursor: help;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
background-color: var(--fg05);
|
|
|
|
border: 1px solid var(--fg07);
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: inset 0 -1px 0 var(--fg09);
|
|
|
|
color: var(--text);
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 10px;
|
|
|
|
padding: 3px 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd:active {
|
2023-10-13 00:55:20 +00:00
|
|
|
background-color: var(--fg07);
|
|
|
|
border: 1px solid var(--fg09);
|
2023-08-31 00:38:44 +00:00
|
|
|
box-shadow: inset 0 0px 0 var(--fg09);
|
|
|
|
vertical-align: bottom;
|
2023-10-13 00:55:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mark {
|
|
|
|
padding: 2px 6px;
|
|
|
|
border-radius: var(--border-radius-small);
|
|
|
|
background-color: var(--marked);
|
|
|
|
color: var(--accent-color);
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-09-02 03:30:33 +00:00
|
|
|
figcaption {
|
|
|
|
margin-top: -1rem;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
color: var(--fg50);
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
details {
|
|
|
|
background-color: var(--bg2);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
&>summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// TABLES
|
2023-08-31 00:38:44 +00:00
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
word-break: normal;
|
|
|
|
word-break: keep-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th,
|
|
|
|
table td {
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border: 1px solid var(--fg05);
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
// MAKE TABLES VERTICALLY ALIGNED TO THE TOP
|
2023-08-31 00:38:44 +00:00
|
|
|
tbody td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media */
|
2023-10-13 00:55:20 +00:00
|
|
|
img,
|
2023-08-31 00:38:44 +00:00
|
|
|
video {
|
|
|
|
display: block;
|
|
|
|
margin: 2rem auto;
|
|
|
|
max-width: 100%;
|
2023-10-13 00:55:20 +00:00
|
|
|
border-radius: var(--border-radius);
|
2023-08-31 00:38:44 +00:00
|
|
|
box-shadow: var(--shadow);
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
img {
|
2023-08-31 00:38:44 +00:00
|
|
|
transition: var(--transition-longer);
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
img:not(.no-hover):hover {
|
2023-08-31 00:38:44 +00:00
|
|
|
transform: scale(125%);
|
2023-10-13 00:55:20 +00:00
|
|
|
border-radius: 0;
|
2023-08-31 00:38:44 +00:00
|
|
|
box-shadow: var(--shadow-raised);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-device-width: 480px) {
|
2023-10-13 00:55:20 +00:00
|
|
|
// MOBILE
|
|
|
|
img:not(.no-hover):hover {
|
2023-08-31 00:38:44 +00:00
|
|
|
transform: scale(110%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.full {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pixels {
|
|
|
|
image-rendering: crisp-edges; /* older firefox browsers */
|
|
|
|
image-rendering: pixelated;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.transparent {
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// NAVBAR
|
|
|
|
.site-nav {
|
2023-08-31 00:38:44 +00:00
|
|
|
position: sticky;
|
2023-10-13 00:55:20 +00:00
|
|
|
top: 1rem;
|
2023-08-31 00:38:44 +00:00
|
|
|
z-index: 1;
|
2023-10-13 00:55:20 +00:00
|
|
|
width: 80%;
|
|
|
|
max-width: var(--content-width);
|
|
|
|
margin: 1rem auto;
|
|
|
|
border-radius: var(--border-radius-big);
|
|
|
|
background-color: var(--fg05);
|
|
|
|
backdrop-filter: blur(24px);
|
|
|
|
-webkit-backdrop-filter: blur(24px);
|
2023-08-31 00:38:44 +00:00
|
|
|
box-shadow: var(--shadow);
|
|
|
|
overflow: auto;
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 1rem 0 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
li {
|
|
|
|
color: var(--fg50);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
padding: 0.4rem 1rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--fg50);
|
|
|
|
transition: var(--transition);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
a:hover {
|
|
|
|
background-color: var(--fg05);
|
|
|
|
color: var(--accent-color);
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
a.site-nav-title {
|
|
|
|
line-height: normal;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
svg {
|
|
|
|
transform: translateY(-0.125rem) translateX(-0.125rem);
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
@media only screen and (max-device-width: 480px) {
|
|
|
|
.site-nav {
|
|
|
|
position: static;
|
|
|
|
width: 90%;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.site-nav-container {
|
|
|
|
display: block;
|
|
|
|
margin: 0.5rem 0.5rem;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 640px) {
|
2023-10-13 00:55:20 +00:00
|
|
|
.site-nav-container {
|
2023-08-31 00:38:44 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.site-nav ul {
|
2023-08-31 00:38:44 +00:00
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Footer */
|
|
|
|
.site-footer {
|
|
|
|
text-align: center;
|
|
|
|
padding: 3rem 0 3rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-top: 4rem;
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.site-footer {
|
|
|
|
details {
|
|
|
|
all: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// LINK ARROWS
|
|
|
|
.link-page::after {
|
2023-08-31 00:38:44 +00:00
|
|
|
content: " →";
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.link-site::after {
|
2023-08-31 00:38:44 +00:00
|
|
|
content: " ↗";
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
// CENTER LINK ICONS VERTICALLY
|
|
|
|
.link-icon {
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
// BUTTONS
|
2023-08-31 00:38:44 +00:00
|
|
|
.dialog-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: baseline;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-button {
|
|
|
|
display: inline-block;
|
2023-10-13 00:55:20 +00:00
|
|
|
font-size: 0.9rem;
|
2023-08-31 00:38:44 +00:00
|
|
|
padding: 0.4rem 1rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
background-color: var(--fg05);
|
|
|
|
color: var(--text);
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
// CRT
|
|
|
|
.crt {
|
|
|
|
margin: 1rem 0 1rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
background: var(--crt-bg);
|
|
|
|
|
|
|
|
pre {
|
|
|
|
text-shadow: var(--accent-color) 0 0 12px;
|
|
|
|
color: var(--accent-color);
|
|
|
|
padding: 1rem 1rem;
|
|
|
|
margin: unset;
|
|
|
|
background-color: unset;
|
|
|
|
background-image: unset;
|
|
|
|
background-size: unset;
|
|
|
|
background-position: unset;
|
|
|
|
box-shadow: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--accent-color);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
.cursor {
|
|
|
|
animation: blicking 1s infinite;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
@keyframes blicking {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
2023-10-13 00:55:20 +00:00
|
|
|
50% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
opacity: 1;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
// CODE
|
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
font-family: "JetBrains Mono", monospace;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
pre {
|
2023-08-31 00:38:44 +00:00
|
|
|
line-height: normal;
|
|
|
|
margin: 1rem 0 1rem;
|
2023-10-13 00:55:20 +00:00
|
|
|
padding: 1rem 1rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
max-width: 100vw;
|
2023-08-31 00:38:44 +00:00
|
|
|
overflow-x: auto;
|
|
|
|
box-shadow: var(--shadow);
|
2023-10-13 00:55:20 +00:00
|
|
|
background-image: linear-gradient(var(--fg03) 1px, transparent 1px),
|
|
|
|
linear-gradient(90deg, var(--fg03) 1px, transparent 1px);
|
|
|
|
background-size: 10px 10px, 10px 10px;
|
|
|
|
background-position: -1px -1px, -1px -1px;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
pre code {
|
|
|
|
background-color: unset;
|
|
|
|
border-radius: unset;
|
|
|
|
color: unset;
|
|
|
|
padding: unset;
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
code {
|
2023-08-31 00:38:44 +00:00
|
|
|
padding: 2px 6px;
|
2023-10-13 00:55:20 +00:00
|
|
|
border-radius: var(--border-radius-small);
|
2023-08-31 00:38:44 +00:00
|
|
|
background-color: var(--fg07);
|
|
|
|
color: var(--red-fg);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
// STATEMENTS
|
2023-08-31 00:38:44 +00:00
|
|
|
.statement-container {
|
|
|
|
margin: 1rem 0 1rem;
|
2023-10-13 00:55:20 +00:00
|
|
|
padding: 1rem 1rem;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
box-shadow: var(--shadow);
|
2023-08-31 00:38:44 +00:00
|
|
|
|
2023-10-13 00:55:20 +00:00
|
|
|
h2 {
|
|
|
|
margin: 0 0 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2023-08-31 00:38:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive {
|
|
|
|
background-color: var(--purple-bg);
|
|
|
|
color: var(--purple-fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.disclaimer {
|
|
|
|
background-color: var(--red-bg);
|
|
|
|
color: var(--red-fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.trigger {
|
|
|
|
background-color: var(--yellow-bg);
|
|
|
|
color: var(--yellow-fg);
|
|
|
|
}
|
2023-10-13 00:55:20 +00:00
|
|
|
|
|
|
|
.johnvertisement {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
width: min(728px, 100vw);
|
|
|
|
height: min(90px, 12.367vw);
|
|
|
|
border: none;
|
|
|
|
}
|