From 850a2210a13f6e7be2c25711c656e01485540fee Mon Sep 17 00:00:00 2001 From: Foster Hangdaan Date: Wed, 2 Aug 2023 19:19:56 -0400 Subject: [PATCH] Use fonts from my public static file server --- _includes/styles/fonts.scss | 8 ++++---- static/fonts/CascadiaMono-Regular.woff2 | 3 --- static/fonts/Ubuntu-Bold.ttf | 3 --- static/fonts/Ubuntu-Regular.ttf | 3 --- static/fonts/Ubuntu-RegularItalic.ttf | 3 --- 5 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 static/fonts/CascadiaMono-Regular.woff2 delete mode 100644 static/fonts/Ubuntu-Bold.ttf delete mode 100644 static/fonts/Ubuntu-Regular.ttf delete mode 100644 static/fonts/Ubuntu-RegularItalic.ttf diff --git a/_includes/styles/fonts.scss b/_includes/styles/fonts.scss index bce7698..d2e51bc 100644 --- a/_includes/styles/fonts.scss +++ b/_includes/styles/fonts.scss @@ -1,24 +1,24 @@ @font-face { font-family: "Ubuntu"; font-weight: normal; - src: url("/fonts/Ubuntu-Regular.ttf") format("truetype"); + src: url("https://static.fosterhangdaan.com/fonts/ubuntu/Ubuntu-Regular.ttf") format("truetype"); } @font-face { font-family: "Ubuntu"; font-style: italic; font-weight: normal; - src: url("/fonts/Ubuntu-RegularItalic.ttf") format("truetype"); + src: url("https://static.fosterhangdaan.com/fonts/ubuntu/Ubuntu-RegularItalic.ttf") format("truetype"); } @font-face { font-family: "Ubuntu"; font-weight: bold; - src: url("/fonts/Ubuntu-Bold.ttf") format("truetype"); + src: url("https://static.fosterhangdaan.com/fonts/ubuntu/Ubuntu-Bold.ttf") format("truetype"); } @font-face { font-family: "CascadiaCode"; font-weight: normal; - src: url("/fonts/CascadiaMono-Regular.woff2") format("woff2"); + src: url("https://static.fosterhangdaan.com/fonts/cascadia-code/CascadiaMono-Regular.woff2") format("woff2"); } diff --git a/static/fonts/CascadiaMono-Regular.woff2 b/static/fonts/CascadiaMono-Regular.woff2 deleted file mode 100644 index 48acefd..0000000 --- a/static/fonts/CascadiaMono-Regular.woff2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73a01edfdf0b7887157969bd073444ebcb574f00a400e8f8d763b0740ab96a6e -size 123988 diff --git a/static/fonts/Ubuntu-Bold.ttf b/static/fonts/Ubuntu-Bold.ttf deleted file mode 100644 index 145319e..0000000 --- a/static/fonts/Ubuntu-Bold.ttf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c90e629e932f768909bdce1481ccd259d8aff1490a4bc1cf94d5413492317336 -size 333612 diff --git a/static/fonts/Ubuntu-Regular.ttf b/static/fonts/Ubuntu-Regular.ttf deleted file mode 100644 index 5980ab3..0000000 --- a/static/fonts/Ubuntu-Regular.ttf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:52c1afa489ae7bfd893af6cdd9f1af258005703600449e70d338caabcff507e5 -size 353824 diff --git a/static/fonts/Ubuntu-RegularItalic.ttf b/static/fonts/Ubuntu-RegularItalic.ttf deleted file mode 100644 index 3d7a82b..0000000 --- a/static/fonts/Ubuntu-RegularItalic.ttf +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0626647f11d9c911f934715d1060b590744887224601abaeb22ac8f582b57118 -size 386440