From c9a30e04e8603c9796fec663a2d374e41e2e6031 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Fri, 12 Jul 2019 20:10:32 -0400 Subject: Rewrite Haunt configuration. --- haunt/static/css/fonts.css | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 haunt/static/css/fonts.css (limited to 'haunt/static/css/fonts.css') diff --git a/haunt/static/css/fonts.css b/haunt/static/css/fonts.css new file mode 100644 index 0000000..05a70c6 --- /dev/null +++ b/haunt/static/css/fonts.css @@ -0,0 +1,59 @@ +/* Cantarell */ + +@font-face { + font-family: 'Cantarell'; + src: url('/static/font/Cantarell-Bold.otf') format('opentype'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Cantarell'; + src: url('/static/font/Cantarell-BoldOblique.otf') format('opentype'); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'Cantarell'; + src: url('/static/font/Cantarell-Oblique.otf') format('opentype'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Cantarell'; + src: url('/static/font/Cantarell-Regular.otf') format('opentype'); + font-weight: normal; + font-style: normal; +} + +/* Hack */ + +@font-face { + font-family: 'Hack'; + src: url('/static/font/Hack-Bold.ttf'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Hack'; + src: url('/static/font/Hack-BoldItalic.ttf'); + font-weight: bold; + font-style: italic; +} + +@font-face { + font-family: 'Hack'; + src: url('/static/font/Hack-Italic.ttf'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Hack'; + src: url('/static/font/Hack-Regular.ttf'); + font-weight: normal; + font-style: normal; +} -- cgit v1.3