From cec9617f1186443a1e7a225a5f17009b0c3f47e1 Mon Sep 17 00:00:00 2001 From: ClovertaTheTrilobita Date: Thu, 26 Mar 2026 17:50:30 +0200 Subject: [PATCH] tend to change loading of fonts to cdn --- src/styles/global.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 7a9a4d1..e7faa75 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,4 +1,8 @@ -@font-face { +@import url("https://unpkg.com/@fontsource/maple-mono@5.2.6/400.css"); +@import url("https://unpkg.com/@fontsource/maple-mono@5.2.6/400-italic.css"); +@import url("https://unpkg.com/@fontsource/maple-mono@5.2.6/700.css"); + +/* @font-face { font-family: "Maple Mono"; src: url("/fonts/MapleMono-Regular.ttf.woff2") format("woff2"); font-weight: 400; @@ -20,7 +24,7 @@ font-weight: 700; font-style: normal; font-display: swap; -} +} */ @font-face { font-family: "Maple Mono CN";