From c491ee7b67aeb30c021e6f540bdaa7c19d484760 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 15 Aug 2023 15:30:31 +0200 Subject: Use my custom fonts --- src/style.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src') diff --git a/src/style.css b/src/style.css index 2f955ab..8277d0e 100644 --- a/src/style.css +++ b/src/style.css @@ -12,6 +12,34 @@ --red: #C66; } +@font-face { + font-family: Vollkorn; + src: url('fonts/vollkorn-regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: Vollkorn; + src: url('fonts/vollkorn-italic.woff2') format('woff2'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Iosevka Smooth'; + src: url('fonts/iosevka-regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Iosevka Smooth'; + src: url('fonts/iosevka-italic.woff2') format('woff2'); + font-weight: normal; + font-style: italic; +} + *, *::before, *::after { box-sizing: border-box; } body { -- cgit v1.2.3