Commit 65cce88351

65cce883510111c0281b3c72c9ce6aad21e1f69b

parent: c7bca1a295

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-21 06:05 UTC

Darken org buffer dark background; shade blocks

Layout: unified · split

theme/static/styles.css +7 −5
@@ -1,6 +1,6 @@
11:root {
22 --bg: #fbfaf6; --fg: #2b2b2b; --muted: #77746d; --link: #2a5db0; --rule: #e2ded3;
3 --h1: #6a3a99; --h2: #2e6b3c; --h3: #8a4b00; --tag: #9b5a00;
3 --h1: #6a3a99; --h2: #2e6b3c; --h3: #8a4b00; --tag: #9b5a00; --block: #f0ede4;
44 --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
55}
66body { max-width: 80ch; margin: 0 auto; padding: 1rem; background-color: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 0.9rem; line-height: 1.6; }
@@ -37,7 +37,8 @@ table { border-collapse: collapse; }
3737table, th, td { border: 1px solid var(--rule); }
3838th, td { padding: 0.25rem 0.5rem; text-align: left; }
3939footer { margin: 2rem 0; color: var(--muted); }
40pre, blockquote { margin: 1rem 0; padding: 0 0 0 2ch; }
40pre, blockquote { margin: 1rem 0; padding: 0.5rem 1ch 0.5rem 3ch; }
41pre, blockquote, .detour, .seealso { background-color: var(--block); }
4142pre { overflow: auto; white-space: pre; }
4243pre::before { content: "#+begin_src"; display: block; margin-left: -2ch; color: var(--muted); }
4344pre::after { content: "#+end_src"; display: block; margin-left: -2ch; color: var(--muted); }
@@ -48,7 +49,7 @@ blockquote p:last-child { margin-bottom: 0; }
4849code { color: var(--tag); }
4950figcaption { color: var(--muted); }
5051/* The metadata block on a detour post, shown as a property drawer. */
51.detour { margin: 1rem 0 2rem; }
52.detour { margin: 1rem 0 2rem; padding: 0.5rem 1ch; }
5253.detour::before { content: ":PROPERTIES:"; color: var(--muted); }
5354.detour::after { content: ":END:"; color: var(--muted); }
5455.detour dl { margin: 0; }
@@ -60,6 +61,7 @@ figcaption { color: var(--muted); }
6061.detour-list li { list-style: none; margin-bottom: .75rem; }
6162.detour-meta { display: block; color: var(--muted); }
6263/* #+begin_seealso: a line of related links under a section. */
64.seealso { margin: 1rem 0; padding: 0.5rem 1ch; }
6365.seealso::before { content: "#+begin_seealso"; display: block; color: var(--muted); }
6466.seealso::after { content: "#+end_seealso"; display: block; color: var(--muted); }
6567.seealso p { margin: 0 0 0 2ch; }
@@ -68,8 +70,8 @@ figcaption { color: var(--muted); }
6870pre code { color: #323232; }
6971@media (prefers-color-scheme: dark) {
7072 :root {
71 --bg: #16171a; --fg: #d6d6d0; --muted: #8a8b90; --link: #7fb0f0; --rule: #2a2b30;
72 --h1: #c79bf2; --h2: #8fcf9a; --h3: #f0c27a; --tag: #e0a85a;
73 --bg: #0b0c0e; --fg: #d6d6d0; --muted: #8a8b90; --link: #7fb0f0; --rule: #2a2b30;
74 --h1: #c79bf2; --h2: #8fcf9a; --h3: #f0c27a; --tag: #e0a85a; --block: #17181c;
7375 }
7476 pre code { color: #c0c5ce; }
7577}