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;