feat: switch mono typeface from Iosevka Curly Slab to plain Iosevka
Self-hosted, subset to exactly the glyphs the site uses (fonttools --unicodes), so the pair is smaller (6.4+6.3KB) than the curly-slab files they replace despite covering en+de plus shell/tree symbols.
This commit is contained in:
@@ -6,6 +6,31 @@
|
||||
remove this file → original shibui look returns.
|
||||
══════════════════════════════════════════════════════════════ */
|
||||
|
||||
/* plain Iosevka instead of the theme's "Iosevka Curly Slab" — same family,
|
||||
calmer letterforms (straight $, no slab foot on digits). self-hosted,
|
||||
subset to exactly the characters used on the site (fonttools --unicodes),
|
||||
so it's smaller than the curly-slab cut it replaces despite covering en+de
|
||||
plus the shell/tree symbols (→ ← … · ▶ ⛶ ☕ ✕ ❚ box-drawing). overrides the
|
||||
theme's --font-family-* vars below (custom.css loads after site.css). */
|
||||
@font-face {
|
||||
font-family: "Iosevka";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url("/fonts/iosevka-400.woff2") format("woff2");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Iosevka";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url("/fonts/iosevka-700.woff2") format("woff2");
|
||||
}
|
||||
:root {
|
||||
--font-family-mono: "Iosevka", ui-monospace, monospace;
|
||||
--font-family-sans: "Iosevka", ui-monospace, monospace;
|
||||
}
|
||||
|
||||
/* self-hosted serif, used only for the project-info side panel */
|
||||
@font-face {
|
||||
font-family: "Libre Baskerville";
|
||||
|
||||
Reference in New Issue
Block a user