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 @@
1:root { 1:root {
2 --bg: #fbfaf6; --fg: #2b2b2b; --muted: #77746d; --link: #2a5db0; --rule: #e2ded3; 2 --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;
4 --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; 4 --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
5} 5}
6body { 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; } 6body { 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; }
37table, th, td { border: 1px solid var(--rule); } 37table, th, td { border: 1px solid var(--rule); }
38th, td { padding: 0.25rem 0.5rem; text-align: left; } 38th, td { padding: 0.25rem 0.5rem; text-align: left; }
39footer { margin: 2rem 0; color: var(--muted); } 39footer { 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); }
41pre { overflow: auto; white-space: pre; } 42pre { overflow: auto; white-space: pre; }
42pre::before { content: "#+begin_src"; display: block; margin-left: -2ch; color: var(--muted); } 43pre::before { content: "#+begin_src"; display: block; margin-left: -2ch; color: var(--muted); }
43pre::after { content: "#+end_src"; display: block; margin-left: -2ch; color: var(--muted); } 44pre::after { content: "#+end_src"; display: block; margin-left: -2ch; color: var(--muted); }
@@ -48,7 +49,7 @@ blockquote p:last-child { margin-bottom: 0; }
48code { color: var(--tag); } 49code { color: var(--tag); }
49figcaption { color: var(--muted); } 50figcaption { color: var(--muted); }
50/* The metadata block on a detour post, shown as a property drawer. */ 51/* 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; }
52.detour::before { content: ":PROPERTIES:"; color: var(--muted); } 53.detour::before { content: ":PROPERTIES:"; color: var(--muted); }
53.detour::after { content: ":END:"; color: var(--muted); } 54.detour::after { content: ":END:"; color: var(--muted); }
54.detour dl { margin: 0; } 55.detour dl { margin: 0; }
@@ -60,6 +61,7 @@ figcaption { color: var(--muted); }
60.detour-list li { list-style: none; margin-bottom: .75rem; } 61.detour-list li { list-style: none; margin-bottom: .75rem; }
61.detour-meta { display: block; color: var(--muted); } 62.detour-meta { display: block; color: var(--muted); }
62/* #+begin_seealso: a line of related links under a section. */ 63/* #+begin_seealso: a line of related links under a section. */
64.seealso { margin: 1rem 0; padding: 0.5rem 1ch; }
63.seealso::before { content: "#+begin_seealso"; display: block; color: var(--muted); } 65.seealso::before { content: "#+begin_seealso"; display: block; color: var(--muted); }
64.seealso::after { content: "#+end_seealso"; display: block; color: var(--muted); } 66.seealso::after { content: "#+end_seealso"; display: block; color: var(--muted); }
65.seealso p { margin: 0 0 0 2ch; } 67.seealso p { margin: 0 0 0 2ch; }
@@ -68,8 +70,8 @@ figcaption { color: var(--muted); }
68pre code { color: #323232; } 70pre code { color: #323232; }
69@media (prefers-color-scheme: dark) { 71@media (prefers-color-scheme: dark) {
70 :root { 72 :root {
71 --bg: #16171a; --fg: #d6d6d0; --muted: #8a8b90; --link: #7fb0f0; --rule: #2a2b30; 73 --bg: #0b0c0e; --fg: #d6d6d0; --muted: #8a8b90; --link: #7fb0f0; --rule: #2a2b30;
72 --h1: #c79bf2; --h2: #8fcf9a; --h3: #f0c27a; --tag: #e0a85a; 74 --h1: #c79bf2; --h2: #8fcf9a; --h3: #f0c27a; --tag: #e0a85a; --block: #17181c;
73 } 75 }
74 pre code { color: #c0c5ce; } 76 pre code { color: #c0c5ce; }
75} 77}