diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-15 15:30:31 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-15 15:30:31 +0200 |
commit | c491ee7b67aeb30c021e6f540bdaa7c19d484760 (patch) | |
tree | ea8f2a7b17534914b8acc9417f80feaffda39e17 /src | |
parent | ebada0773fd93dac5648ab7209ac67a208007d74 (diff) |
Use my custom fonts
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 28 |
1 files changed, 28 insertions, 0 deletions
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 { |