From 065a159e5fb94733738c24664ea2bd222bebd203 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 25 May 2023 00:57:16 +0200 Subject: Add fonts --- src/style.css | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/style.css b/src/style.css index d271c3b..0bc6172 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,31 @@ +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-Medium.otf') format('opentype'); + font-weight: 500; + font-style: normal; +} + +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-MediumItalic.otf') format('opentype'); + font-weight: 500; + font-style: italic; +} + +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-Bold.otf') format('opentype'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Ysabeau'; + src: url('/fonts/Ysabeau-BoldItalic.otf') format('opentype'); + font-weight: bold; + font-style: italic; +} + :root { --background-color: #121212; --secondary-darker-color: #1B1B1B; @@ -398,7 +426,7 @@ main section { } .coin-table th { - font-style: bold; + font-weight: bold; width: 12.5%; } -- cgit v1.2.3