From b53f3dced9ea579762bee5fa3a6953b379ada313 Mon Sep 17 00:00:00 2001 From: askiiart Date: Sat, 4 Jan 2025 19:04:56 -0600 Subject: [PATCH] use local fonts if available --- style.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index b46582c..6cd2766 100755 --- a/style.css +++ b/style.css @@ -1,28 +1,28 @@ @font-face { /* from https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/FiraCode */ font-family: "FiraCode"; - src: url('/assets/FiraCodeNerdFontMono-Regular.woff2'); + src: 'FiraCode', url('/assets/FiraCodeNerdFontMono-Regular.woff2'); } /* from Google Fonts, under the Open Font License */ @font-face { font-family: "Atkinson Hyperlegible"; - src: local('Atkinson Hyperlegible'), url('/assets/AtkinsonHyperlegible-Regular.woff2'); + src: 'Atkinson Hyperlegible', url('/assets/AtkinsonHyperlegible-Regular.woff2'); } @font-face { font-family: "Atkinson Hyperlegible Bold"; - src: local('Atkinson Hyperlegible Bold'), url('/assets/AtkinsonHyperlegible-Bold.woff2'); + src: 'Atkinson Hyperlegible Bold', url('/assets/AtkinsonHyperlegible-Bold.woff2'); } @font-face { font-family: "Atkinson Hyperlegible Italic"; - src: local('Atkinson Hyperlegible Italic'), url('/assets/AtkinsonHyperlegible-Italic.woff2'); + src: 'Atkinson Hyperlegible Italic', url('/assets/AtkinsonHyperlegible-Italic.woff2'); } @font-face { font-family: "Atkinson Hyperlegible Bold Italic"; - src: local('Atkinson Hyperlegible Bold Italic'), url('/assets/AtkinsonHyperlegible-BoldItalic.woff2'); + src: 'Atkinson Hyperlegible Bold Italic', url('/assets/AtkinsonHyperlegible-BoldItalic.woff2'); } body {