From: Ruben Rodriguez Date: Wed, 21 Dec 2022 20:44:53 +0000 (+0100) Subject: Relative font paths X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8e59cf805295408677b37148373d708c20859554;p=financial-reports.git Relative font paths --- diff --git a/output/theme/css/b-side-base.css b/output/theme/css/b-side-base.css index 90e2dfb..d23182e 100644 --- a/output/theme/css/b-side-base.css +++ b/output/theme/css/b-side-base.css @@ -35,31 +35,31 @@ font-family: "HankenGrotesk"; font-weight: 700; font-style: normal; - src: local("HankenGrotesk Bold"), url("/theme/fonts/HankenGrotesk-Bold.ttf") format("truetype"); + src: local("HankenGrotesk Bold"), url("../fonts/HankenGrotesk-Bold.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 400; font-style: normal; - src: local("Karla"), url("/theme/fonts/Karla-Regular.ttf") format("truetype"); + src: local("Karla"), url("../fonts/Karla-Regular.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 700; font-style: normal; - src: local("Karla Bold"), url("/theme/fonts/Karla-Bold.ttf") format("truetype"); + src: local("Karla Bold"), url("../fonts/Karla-Bold.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 400; font-style: italic; - src: local("Karla Italic"), url("/font/fonts/Karla-Italic.ttf") format("truetype"); + src: local("Karla Italic"), url("../fonts/Karla-Italic.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 700; font-style: italic; - src: local("Karla BoldItalic"), url("/font/fonts/Karla-BoldItalic.ttf") format("truetype"); + src: local("Karla BoldItalic"), url("../fonts/Karla-BoldItalic.ttf") format("truetype"); } body { font-family: "Karla", Roboto, DejaVu Sans, sans-serif; diff --git a/theme/static/css/b-side-base.css b/theme/static/css/b-side-base.css index 90e2dfb..d23182e 100644 --- a/theme/static/css/b-side-base.css +++ b/theme/static/css/b-side-base.css @@ -35,31 +35,31 @@ font-family: "HankenGrotesk"; font-weight: 700; font-style: normal; - src: local("HankenGrotesk Bold"), url("/theme/fonts/HankenGrotesk-Bold.ttf") format("truetype"); + src: local("HankenGrotesk Bold"), url("../fonts/HankenGrotesk-Bold.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 400; font-style: normal; - src: local("Karla"), url("/theme/fonts/Karla-Regular.ttf") format("truetype"); + src: local("Karla"), url("../fonts/Karla-Regular.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 700; font-style: normal; - src: local("Karla Bold"), url("/theme/fonts/Karla-Bold.ttf") format("truetype"); + src: local("Karla Bold"), url("../fonts/Karla-Bold.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 400; font-style: italic; - src: local("Karla Italic"), url("/font/fonts/Karla-Italic.ttf") format("truetype"); + src: local("Karla Italic"), url("../fonts/Karla-Italic.ttf") format("truetype"); } @font-face { font-family: "Karla"; font-weight: 700; font-style: italic; - src: local("Karla BoldItalic"), url("/font/fonts/Karla-BoldItalic.ttf") format("truetype"); + src: local("Karla BoldItalic"), url("../fonts/Karla-BoldItalic.ttf") format("truetype"); } body { font-family: "Karla", Roboto, DejaVu Sans, sans-serif;