From 315d32dfea033a51f09aec36d7cff9cfc6f37339 Mon Sep 17 00:00:00 2001 From: Jacob Haddon Date: Fri, 13 Sep 2024 20:56:49 -0400 Subject: [PATCH] removed 'local' from font-face to fix issues on Firefox on Linux --- style.css | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/style.css b/style.css index 42d8807..0420142 100644 --- a/style.css +++ b/style.css @@ -11,21 +11,19 @@ Written by Jacob Haddon https://jacobhaddon.com */ @font-face { -font-family: "lora"; -src: local("Lora"), - url("fonts/Lora/webfonts/Lora-Regular.woff2") format('woff2'), - url("fonts/Lora/variable/Lora-VariableFont_wght.ttf") format('truetype'); -font-style: normal; -font-weight: normal; + font-family: "lora"; + src: url("fonts/Lora/webfonts/Lora-Regular.woff2") format('woff2'), + url("fonts/Lora/variable/Lora-VariableFont_wght.ttf") format('truetype'); + font-style: normal; + font-weight: normal; } @font-face { -font-family: "lora"; -src: local("Lora"), - url("fonts/Lora/webfonts/Lora-Italic.woff2") format('woff2'), - url("fonts/Lora/variable/Lora-Italic-VariableFont_wght.ttf")format('truetype'); -font-weight: normal; -font-style: italic; + font-family: "lora"; + src: url("fonts/Lora/webfonts/Lora-Italic.woff2") format('woff2'), + url("fonts/Lora/variable/Lora-Italic-VariableFont_wght.ttf")format('truetype'); + font-style: italic; + font-weight: normal; } body {