From a278f33fe06f8669f15725a2b623ab68823f9d04 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 6 Sep 2023 23:37:36 +0300 Subject: Fixed font to load from local URL --- src/css/akn.css | 8 +------- src/fonts/Hack.woff2 | Bin 0 -> 523336 bytes 2 files changed, 1 insertion(+), 7 deletions(-) create mode 100644 src/fonts/Hack.woff2 (limited to 'src') diff --git a/src/css/akn.css b/src/css/akn.css index 1364f25..68957a3 100644 --- a/src/css/akn.css +++ b/src/css/akn.css @@ -8,20 +8,14 @@ @font-face { - /* font-family: 'terminessttf_nerd_font_monoMd';*/ font-family: 'Hack Nerd Font'; - src: url('https://ipfs.arching-kaos.com/ipfs/QmbzXvjvvoPDXkLBmyDeJt2iv55vj7ALVHVtn4VXpxsf1A/font.woff2') format('woff'); - /* - src: url('https://ipfs.arching-kaos.com/ipfs/QmTiFZ9BjPGaoz5FEqsy5FJcVNRXrknsGkLPQXca6fb8Hz?filename=terminess_ttf_nerd_font_complete_mono-webfont.woff2') format('woff2'), - url('https://ipfs.arching-kaos.com/ipfs/QmeTV8JiVLdYw4Jt1gDngH2P6dZXkDucNKaruSMMAMkMhq?filename=terminess_ttf_nerd_font_complete_mono-webfont.woff') format('woff');*/ + src: url('../fonts/Hack.woff2') format('woff'); font-weight: normal; } body { word-break: break-all; padding: 1%; background-color: #1a1a1a; - /* font-family: monospace; - font-family: 'terminessttf_nerd_font_monoMd';*/ font-family: 'Hack Nerd Font'; font-size: medium; color: #7ef07e; diff --git a/src/fonts/Hack.woff2 b/src/fonts/Hack.woff2 new file mode 100644 index 0000000..1d297a6 Binary files /dev/null and b/src/fonts/Hack.woff2 differ -- cgit v1.2.3