Skip to content

Commit d484045

Browse files
raimbetovclaude
andcommitted
Sync serif headings (self-hosted Fraunces) from reference site
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8d8b3b7 commit d484045

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

asset/fonts/Fraunces-latin.woff2

65.7 KB
Binary file not shown.

css/overlake-styles.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@
44
======================================== */
55

66
/* ========================================
7-
0. DESIGN TOKENS
7+
0. FONTS & DESIGN TOKENS
88
======================================== */
99

10+
/* Self-hosted Fraunces (variable serif) for headings only. No font CDN.
11+
Body text stays on the Water.css system sans stack. */
12+
@font-face {
13+
font-family: "Fraunces";
14+
font-style: normal;
15+
font-weight: 400 600;
16+
font-display: swap;
17+
src: url("../asset/fonts/Fraunces-latin.woff2") format("woff2");
18+
}
19+
1020
:root {
1121
/* Spacing scale */
1222
--space-xs: 0.25rem; /* 4px */
@@ -424,6 +434,14 @@ a {
424434
6. HEADINGS & TEXT
425435
======================================== */
426436

437+
/* Serif headings (Fraunces) — editorial contrast against the sans body/logo */
438+
h1, h2, h3, .panel-title {
439+
font-family: "Fraunces", Georgia, "Times New Roman", serif;
440+
font-weight: 600;
441+
font-optical-sizing: auto;
442+
letter-spacing: -0.01em;
443+
}
444+
427445
h1, h2 {
428446
color: var(--links);
429447
}
@@ -434,6 +452,12 @@ h1 {
434452
text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
435453
}
436454

455+
/* Keep the small heading labels/separators on the sans stack for contrast */
456+
.section-tag, .section-sep {
457+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
458+
letter-spacing: normal;
459+
}
460+
437461
/* Remove list bullets */
438462
ul, ol {
439463
list-style: none;

0 commit comments

Comments
 (0)