From 314b8ec016e68b0fa7aaeac18d372f14ff19e8dd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 7 Mar 2021 07:54:33 +0100 Subject: Attempt to include IBM Plex Sans font --- theme.css | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'theme.css') diff --git a/theme.css b/theme.css index a4b3000..4b6fe1a 100644 --- a/theme.css +++ b/theme.css @@ -131,7 +131,48 @@ --button-color: var(--color--yellow); } +@font-face { + font-family: 'IBM Plex Sans'; + font-style: normal; + font-weight: 700; + src: + local("IBM Plex Sans Bold"), + local("IBMPlexSans-Bold"), + url("./IBMPlexSans-Bold.woff2") format("woff2"); +} + +@font-face { + font-family: 'IBM Plex Sans'; + font-style: italic; + font-weight: 700; + src: + local("IBM Plex Sans Bold Italic"), + local("IBMPlexSans-BoldItalic"), + url("./IBMPlexSans-BoldItalic.woff2") format("woff2"); +} + +@font-face { + font-family: 'IBM Plex Sans'; + font-style: italic; + font-weight: 400; + src: + local("IBM Plex Sans Italic"), + local("IBMPlexSans-Italic"), + url("./IBMPlexSans-Italic.woff2") format("woff2"); +} + +@font-face { + font-family: 'IBM Plex Sans'; + font-style: normal; + font-weight: 400; + src: + local("IBM Plex Sans"), + local("IBMPlexSans"), + url("./IBMPlexSans-Regular.woff2") format("woff2"); +} + body { + font-family: IBM Plex Sans, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, Arial; scrollbar-color: var(--color--scrollbar--fg) var(--color--scrollbar--bg); } -- cgit v1.3.1