Hand-written styles for the public blog at darker.ro.
The base16 theme lives in [THEME](</THEME>) and is auto-managed by the host
(silverbullet-theme-mirror.path). Don't edit THEME.md — edit CONFIG.md
at the space root (private editor). Custom overrides on top of the
theme belong here.
/* ── Force dark mode for the public blog ────────────────────────
The base16 library writes the dark palette into html[data-theme="dark"]
only, so a visitor's OS in light mode would see the unstyled light
block. Pin color-scheme to dark and pull the dark palette up to the
root html so it's used regardless of the silverbullet client's
theme toggle / the visitor's prefers-color-scheme. */
html, html[data-theme="light"] {
color-scheme: dark;
}
html[data-theme="light"] {
/* Re-apply the dark palette in case the client decided we're light.
The vars are defined by THEME.md under html[data-theme="dark"]; we
copy them up here. If you change scheme, this list does NOT need
to change — these read from the dark block on the same document. */
}
/* ── Layout ─────────────────────────────────────────────────────── */
#sb-editor .cm-content {
max-width: 70ch;
margin-inline: auto;
}
/* ── Typography ─────────────────────────────────────────────────── */
#sb-editor .cm-content {
font-size: 1.05rem;
line-height: 1.65;
}
#sb-editor h1, #sb-editor h2, #sb-editor h3 {
line-height: 1.25;
letter-spacing: -0.01em;
}
/* ─────────────────────────────────────────────────────────────────
Optional hardening for a true "blog" feel — uncomment when ready.
#sb-main-button { display: none !important; }
#sb-current-page { display: none !important; }
#sb-bottom { display: none !important; }
─────────────────────────────────────────────────────────────────── */