This commit is contained in:
2026-07-18 01:32:38 +02:00
parent 270b292f6d
commit fcd25d4239
32 changed files with 865 additions and 236 deletions

View File

@@ -1,66 +1,68 @@
/* ── Light Theme (Default) ────────────────────────────────── */
:root {
--bg-body: #faf6f0;
--bg-elevated: #fffdf8;
--text-primary: #2d2418;
--text-heading: #1a1408;
--text-secondary: #5c4a37;
--text-muted: #7a6b56;
--border-light: #f0e5d7;
--border-medium: #e8dbcc;
--border-accent: #d4c4b0;
--link-color: #b45309;
--link-hover: #92400e;
--link-border: rgba(180, 83, 9, 0.25);
--link-border-hover: rgba(180, 83, 9, 0.6);
--strong-color: #1a1408;
--marker-color: #5c4a37;
--blockquote-bg: #fdf9f3;
--blockquote-border: #d4c4b0;
--blockquote-text: #5c4a37;
--code-inline-bg: #fef3e2;
--code-inline-color: #9a4710;
--code-block-bg: #1f1910;
--code-block-color: #e8dbcc;
--table-border: #e8dbcc;
--table-header-bg: #fdf9f3;
--table-header-text: #4a3b2c;
--table-row-border: #f5efe6;
--table-cell-text: #5c4a37;
--hr-color: #e8dbcc;
--bg-body: #f4f1ee;
--bg-elevated: #faf8f5;
--bg-sidebar: #f4f1ee;
--text-primary: #1e1a2e;
--text-heading: #0f0c1a;
--text-secondary: #3d3457;
--text-muted: #6b5f82;
--border-light: #e2dde8;
--border-medium: #cec6d8;
--border-accent: #b8aac8;
--link-color: #9b2335;
--link-hover: #6e1522;
--link-border: rgba(155, 35, 53, 0.25);
--link-border-hover: rgba(155, 35, 53, 0.6);
--strong-color: #0f0c1a;
--marker-color: #6b3d7a;
--blockquote-bg: #f7f4f9;
--blockquote-border: #9b2335;
--blockquote-text: #3d3457;
--code-inline-bg: #f0ebf5;
--code-inline-color: #7c2d8c;
--code-block-bg: #12101e;
--code-block-color: #d4ccdf;
--table-border: #cec6d8;
--table-header-bg: #f0ecf5;
--table-header-text: #2a2040;
--table-row-border: #e8e3ef;
--table-cell-text: #3d3457;
--hr-color: #c8b850;
}
/* ── Dark Theme ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
:root {
--bg-body: #17120c;
--bg-elevated: #1f1810;
--text-primary: #d4c4b0;
--text-heading: #e8dbcc;
--text-secondary: #a89580;
--text-muted: #7a6b56;
--border-light: #2e2419;
--border-medium: #3d3125;
--border-accent: #4f4030;
--link-color: #fb923c;
--link-hover: #fdba74;
--link-border: rgba(251, 146, 60, 0.3);
--link-border-hover: rgba(251, 146, 60, 0.6);
--strong-color: #e8dbcc;
--marker-color: #a89580;
--blockquote-bg: #1f1810;
--blockquote-border: #4f4030;
--blockquote-text: #a89580;
--code-inline-bg: #2a2015;
--code-inline-color: #fb923c;
--code-block-bg: #0e0a06;
--code-block-color: #d4c4b0;
--table-border: #3d3125;
--table-header-bg: #1f1810;
--table-header-text: #cbd5c4;
--table-row-border: #2e2419;
--table-cell-text: #a89580;
--hr-color: #3d3125;
--bg-body: #0e0c18;
--bg-elevated: #15121f;
--bg-sidebar: #0d0d0f;
--text-primary: #cfc8dc;
--text-heading: #e4dff0;
--text-secondary: #9d93b5;
--text-muted: #6b5f82;
--border-light: #201c30;
--border-medium: #2e2844;
--border-accent: #3d3557;
--link-color: #e05567;
--link-hover: #f07d8a;
--link-border: rgba(224, 85, 103, 0.3);
--link-border-hover: rgba(224, 85, 103, 0.6);
--strong-color: #e4dff0;
--marker-color: #a07ab5;
--blockquote-bg: #15121f;
--blockquote-border: #c0293d;
--blockquote-text: #9d93b5;
--code-inline-bg: #1f1930;
--code-inline-color: #c084d8;
--code-block-bg: #080710;
--code-block-color: #cfc8dc;
--table-border: #2e2844;
--table-header-bg: #15121f;
--table-header-text: #c8c0d8;
--table-row-border: #201c30;
--table-cell-text: #9d93b5;
--hr-color: #8c7a20;
}
}
@@ -78,11 +80,26 @@ html {
tab-size: 4;
}
@font-face {
font-family: "Bookinsanity";
src: url("/fonts/Bookinsanity.otf") format("opentype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Nodesto Caps Condensed";
src: url("/fonts/Nodesto Caps Condensed.otf") format("opentype");
font-weight: normal;
}
body {
margin: 0 auto;
padding: 0;
line-height: 1.7;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
font-family: "Bookinsanity", system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
color: var(--text-primary);
background-color: var(--bg-body);
word-break: break-word;
@@ -102,24 +119,25 @@ body {
/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
margin-top: 2em;
margin-top: 60px;
margin-bottom: 0.6em;
line-height: 1.3;
color: var(--text-heading);
font-weight: 700;
font-family: "Nodesto Caps Condensed", system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
h1 {
font-size: 2.25rem;
padding-bottom: 0.5em;
border-bottom: 2px solid var(--border-medium);
border-bottom: 2px solid var(--hr-color);
letter-spacing: -0.02em;
}
h2 {
font-size: 1.75rem;
padding-bottom: 0.35em;
border-bottom: 1px solid var(--border-light);
border-bottom: 1px solid var(--border-medium);
}
h3 {
@@ -150,11 +168,21 @@ a {
text-decoration: none;
border-bottom: 1px solid var(--link-border);
transition: color 0.2s, border-color 0.2s;
&.dead-link {
color: var(--text-muted);
border-bottom-color: var(--border-light);
pointer-events: none;
}
}
a:hover {
color: var(--link-hover);
border-bottom-color: var(--link-border-hover);
&.dead-link {
color: var(--text-muted);
border-bottom-color: var(--border-light);
}
}
/* ── Emphasis & Strong ────────────────────────────────────── */
@@ -265,11 +293,11 @@ hr {
/* ── Images ───────────────────────────────────────────────── */
img {
max-width: 100%;
max-width: 600px;
height: auto;
border-radius: 8px;
display: block;
margin: 0.5em 0;
margin: 0.5em auto;
}
/* ── Forms ────────────────────────────────────────────────── */
@@ -302,4 +330,4 @@ textarea {
h3 {
font-size: 1.2rem;
}
}
}