From 9e3d6856d9e8e6f994982e41234ba01a30f8a4ea Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 10 Mar 2026 22:36:44 +0000 Subject: [PATCH] Add URWGothic typeface --- src/lib/global.css | 55 +++++++++++ src/routes/+layout.svelte | 13 +-- static/type/urwgothic/LICENSE | 93 ++++++++++++++++++ .../urwgothic/urwgothic-book-webfont.woff2 | Bin 0 -> 21784 bytes .../urwgothic-bookoblique-webfont.woff2 | Bin 0 -> 25124 bytes .../urwgothic/urwgothic-demi-webfont.woff2 | Bin 0 -> 22276 bytes .../urwgothic-demioblique-webfont.woff2 | Bin 0 -> 24884 bytes 7 files changed, 152 insertions(+), 9 deletions(-) create mode 100644 src/lib/global.css create mode 100644 static/type/urwgothic/LICENSE create mode 100644 static/type/urwgothic/urwgothic-book-webfont.woff2 create mode 100644 static/type/urwgothic/urwgothic-bookoblique-webfont.woff2 create mode 100644 static/type/urwgothic/urwgothic-demi-webfont.woff2 create mode 100644 static/type/urwgothic/urwgothic-demioblique-webfont.woff2 diff --git a/src/lib/global.css b/src/lib/global.css new file mode 100644 index 0000000..2a642c1 --- /dev/null +++ b/src/lib/global.css @@ -0,0 +1,55 @@ +/* OwlBoard Global CSS */ + +/* * URW Gothic is licensed under the SIL Open Font License, Version 1.1. + * Copyright (c) 2014,2015 by (URW)++ Design & Development + */ +@font-face { + font-family: 'URW Gothic'; + src: url('/type/urwgothic/urwgothic-book-webfont.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +/* * URW Gothic is licensed under the SIL Open Font License, Version 1.1. + * Copyright (c) 2014,2015 by (URW)++ Design & Development + */ +@font-face { + font-family: 'URW Gothic'; + src: url('/type/urwgothic/urwgothic-bookoblique-webfont.woff2') format('woff2'); + font-weight: 400; + font-style: italic; + font-display: swap; +} + +/* * URW Gothic is licensed under the SIL Open Font License, Version 1.1. + * Copyright (c) 2014,2015 by (URW)++ Design & Development + */ +@font-face { + font-family: 'URW Gothic'; + src: url('/type/urwgothic/urwgothic-demi-webfont.woff2') format('woff2'); + font-weight: 600; + font-style: normal; + font-display: swap; +} + +/* * URW Gothic is licensed under the SIL Open Font License, Version 1.1. + * Copyright (c) 2014,2015 by (URW)++ Design & Development + */ +@font-face { + font-family: 'URW Gothic'; + src: url('/type/urwgothic/urwgothic-demioblique-webfont.woff2') format('woff2'); + font-weight: 600; + font-style: italic; + font-display: swap; +} + +body { + margin: 0; + padding: 0; + background-color: var(--color-accent); + color: white; + -webkit-font-smoothing: antialiased; + -mos-osx-font-smoothing: grayscale; + overflow-x: hidden; +} \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index b45ea8d..c7382d6 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,6 +1,8 @@