style(explorer): use the roadmap's display typeface for UI; keep the body face for long text

This commit is contained in:
Meysam Parvizi
2026-10-11 19:24:22 +02:00
parent 8ad7827aec
commit 342a344b3c
+14 -1
View File
@@ -108,7 +108,7 @@ body {
body {
margin: 0;
font: 15px/1.5 var(--font);
font: 15px/1.5 var(--font-display);
color: var(--text);
background:
radial-gradient(1100px 760px at 12% -12%, var(--glow-a), transparent 62%),
@@ -127,6 +127,18 @@ button {
color: inherit;
}
/* Labels, titles and controls use the roadmap's display face; longer text keeps the body face. */
.desc,
.res-note,
.res-also,
.why,
.howto,
.empty,
.result-sub,
.tip-hint {
font-family: var(--font);
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
@@ -172,6 +184,7 @@ button {
.brand-text strong {
display: block;
font-size: 15px;
font-weight: 1000;
letter-spacing: -0.01em;
}