From efeb921a1b2863484a68f00a01ff3a5ce9cfbf3b Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Wed, 8 Oct 2025 00:27:16 -0400 Subject: [PATCH] fonts --- public/styles/common.css | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/public/styles/common.css b/public/styles/common.css index fea137f..b8226af 100644 --- a/public/styles/common.css +++ b/public/styles/common.css @@ -1,10 +1,37 @@ @font-face { - font-family: "Signifier"; - src: url("/signifier/Signifier-Regular.ttf"); + font-family: 'Signifier'; + src: url('/fonts/signifier/Signifier-Regular.ttf'); font-weight: normal; font-style: normal; } +@font-face { + font-family: 'Apercu Mono'; + src: url('/fonts/apercu-mono/ApercuMono-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Apercu Mono'; + src: url('/fonts/apercu-mono/ApercuMono-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; + font-display: swap; +} + +pre, +code, +pre code, +.astro-code, +code[class*='language-'] { + font-family: 'Apercu Mono', monospace !important; + font-size: 0.95em; + line-height: 1.5; + font-weight: 400; +} + html, body { font-family: "Signifier", serif;