From 8c50411480ff73f347aa9977c814db0557f5ed79 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 13 Feb 2022 00:08:27 +0100 Subject: Self-host fonts https://rewis.io/urteile/urteil/lhm-20-01-2022-3-o-1749320/ --- stylesheets/fonts.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 stylesheets/fonts.css (limited to 'stylesheets') diff --git a/stylesheets/fonts.css b/stylesheets/fonts.css new file mode 100644 index 0000000..bb79bbf --- /dev/null +++ b/stylesheets/fonts.css @@ -0,0 +1,31 @@ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: normal; + font-display: swap; + src: url(../fonts/OpenSans400.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: normal; + font-display: swap; + src: url(../fonts/OpenSans600.ttf) format('truetype'); +} +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 700; + font-stretch: normal; + font-display: swap; + src: url(../fonts/OpenSans700.ttf) format('truetype'); +} +@font-face { + font-family: 'Cormorant'; + font-style: italic; + font-weight: 500; + font-display: swap; + src: url(../fonts/Cormorant500i.ttf) format('truetype'); +} -- cgit v1.2.3