diff options
Diffstat (limited to 'src/app.css')
-rw-r--r-- | src/app.css | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css index fbcaa23..b80e46d 100644 --- a/src/app.css +++ b/src/app.css @@ -22,3 +22,74 @@ left: 100%; } } + +html { + font-family: var(--font-sbb-typo); +} + +@font-face { + font-family: 'SBB Condensed'; + font-display: swap; + font-weight: 700; + font-style: normal; + src: url('/fonts/SBB-Condensed-Heavy.woff2') format(woff2), + url('/fonts/SBB-Condensed-Heavy.ttf') format(opentype), + local('SBB Condensed'); +} +@font-face { + font-family: 'SBB Condensed'; + font-display: swap; + font-weight: 600; + font-style: normal; + src: url('/fonts/SBB-Condensed-Bold.woff2') format(woff2), + url('/fonts/SBB-Condensed-Bold.ttf') format(opentype), + local('SBB Condensed'); +} +@font-face { + font-family: SBB; + font-display: swap; + font-weight: 600; + font-style: normal; + src: url('/fonts/SBB-Bold.woff2') format(woff2), + url('/fonts/SBB-Bold.ttf') format(opentype), local('SBB'); +} +@font-face { + font-family: SBB; + font-display: swap; + font-weight: 400; + font-style: normal; + src: url('/fonts/SBB-Roman.woff2') format(woff2), + url('/fonts/SBB-Roman.ttf') format(opentype), local('SBB'); +} +@font-face { + font-family: SBB; + font-display: swap; + font-weight: 400; + font-style: italic; + src: url('/fonts/SBB-Italic.woff2') format(woff2), + url('/fonts/SBB-Italic.ttf') format(opentype), local('SBB'); +} +@font-face { + font-family: SBB; + font-display: swap; + font-weight: 300; + font-style: normal; + src: url('/fonts/SBB-Light.woff2') format(woff2), + url('/fonts/SBB-Light.ttf') format(opentype), local('SBB'); +} +@font-face { + font-family: SBB; + font-display: swap; + font-weight: 200; + font-style: normal; + src: url('/fonts/SBB-Thin.woff2') format(woff2), + url('/fonts/SBB-Thin.ttf') format(opentype), local('SBB'); +} +@font-face { + font-family: SBB; + font-display: swap; + font-weight: 100; + font-style: normal; + src: url('/fonts/SBB-UltraLight.woff2') format(woff2), + url('/fonts/SBB-UltraLight.ttf') format(opentype), local('SBB'); +} |