From 9402975c27c333d719f6cbeda45dfc337ab91155 Mon Sep 17 00:00:00 2001 From: Michele Date: Thu, 31 Jul 2025 10:31:54 +0200 Subject: [PATCH] set custom font --- assets/css/custom.css | 2 +- layouts/partials/head-custom.html | 1 + .../css => static/fonts}/AcidGrotesk-Regular.otf | Bin 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/head-custom.html rename {assets/css => static/fonts}/AcidGrotesk-Regular.otf (100%) diff --git a/assets/css/custom.css b/assets/css/custom.css index ace7eaf..b06f793 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -36,7 +36,7 @@ body > header { @font-face { font-family: acidGrotesk; - src: url('AcidGrotesk-Regular.otf'); + src: url('../fonts/AcidGrotesk-Regular.otf') format("opentype"); } body { diff --git a/layouts/partials/head-custom.html b/layouts/partials/head-custom.html new file mode 100644 index 0000000..25ec2d6 --- /dev/null +++ b/layouts/partials/head-custom.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/css/AcidGrotesk-Regular.otf b/static/fonts/AcidGrotesk-Regular.otf similarity index 100% rename from assets/css/AcidGrotesk-Regular.otf rename to static/fonts/AcidGrotesk-Regular.otf