From 6f86c795447c87c441179ab65a8a4ff8306a3924 Mon Sep 17 00:00:00 2001 From: Giles Dring Date: Fri, 21 Jun 2024 13:44:32 +0100 Subject: [PATCH] Fix location of fonts --- src/_includes/css/base.css | 2 +- src/_includes/css/fonts/poppins.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/_includes/css/base.css b/src/_includes/css/base.css index 8fe29de..10ac4d7 100644 --- a/src/_includes/css/base.css +++ b/src/_includes/css/base.css @@ -72,7 +72,7 @@ body { left: 0; right: 0; & a { - color: yellow; + color: inherit; } & > * { max-width: 1080px; diff --git a/src/_includes/css/fonts/poppins.css b/src/_includes/css/fonts/poppins.css index 67f6d3f..58736c5 100644 --- a/src/_includes/css/fonts/poppins.css +++ b/src/_includes/css/fonts/poppins.css @@ -7,8 +7,8 @@ font-display: swap; font-weight: 600; src: - url(/assets/fonts/webfonts/poppins-latin-600-normal.woff2) format('woff2'), - url(/assets/fonts/webfonts/poppins-latin-600-normal.woff) format('woff'); + url(../assets/fonts/webfonts/poppins-latin-600-normal.woff2) format('woff2'), + url(../assets/fonts/webfonts/poppins-latin-600-normal.woff) format('woff'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; } @@ -19,7 +19,7 @@ font-display: swap; font-weight: 600; src: - url(/assets/fonts/webfonts/poppins-latin-600-italic.woff2) format('woff2'), - url(/assets/fonts/webfonts/poppins-latin-600-italic.woff) format('woff'); + url(../assets/fonts/webfonts/poppins-latin-600-italic.woff2) format('woff2'), + url(../assets/fonts/webfonts/poppins-latin-600-italic.woff) format('woff'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; } \ No newline at end of file