From 14246c89ce4182fb2945483cd9806df429b901ec Mon Sep 17 00:00:00 2001 From: Eli Chadwick Date: Thu, 13 Jun 2024 16:24:37 +0100 Subject: [PATCH] relative path for fonts --- docs/_sass/_custom_classes.scss | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/_sass/_custom_classes.scss b/docs/_sass/_custom_classes.scss index 6d95966b..d0acfa9f 100644 --- a/docs/_sass/_custom_classes.scss +++ b/docs/_sass/_custom_classes.scss @@ -15,35 +15,35 @@ body { @font-face { font-family: PTSans; - src: url('/assets/fonts/PTSans-Regular.ttf') format('truetype'), - url('/assets/fonts/PTSans-Regular.woff') format('woff'), - url('/assets/fonts/PTSans-Regular.woff2') format('woff2'); + src: url('../fonts/PTSans-Regular.ttf') format('truetype'), + url('../fonts/PTSans-Regular.woff') format('woff'), + url('../fonts/PTSans-Regular.woff2') format('woff2'); font-display: swap; } @font-face { font-family: PTSans; - src: url('/assets/fonts/PTSans-Bold.ttf') format('truetype'), - url('/assets/fonts/PTSans-Bold.woff') format('woff'), - url('/assets/fonts/PTSans-Bold.woff2') format('woff2'); + src: url('../fonts/PTSans-Bold.ttf') format('truetype'), + url('../fonts/PTSans-Bold.woff') format('woff'), + url('../fonts/PTSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; } @font-face { font-family: PTSans; - src: url('/assets/fonts/PTSans-Italic.ttf') format('truetype'), - url('/assets/fonts/PTSans-Italic.woff') format('woff'), - url('/assets/fonts/PTSans-Italic.woff2') format('woff2'); + src: url('../fonts/PTSans-Italic.ttf') format('truetype'), + url('../fonts/PTSans-Italic.woff') format('woff'), + url('../fonts/PTSans-Italic.woff2') format('woff2'); font-style: italic; font-display: swap; } @font-face { font-family: PTSans; - src: url('/assets/fonts/PTSans-BoldItalic.ttf') format('truetype'), - url('/assets/fonts/PTSans-BoldItalic.woff') format('woff'), - url('/assets/fonts/PTSans-BoldItalic.woff2') format('woff2'); + src: url('../fonts/PTSans-BoldItalic.ttf') format('truetype'), + url('../fonts/PTSans-BoldItalic.woff') format('woff'), + url('../fonts/PTSans-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap;