diff options
| author | Clément Zrounba <6691770+clement-z@users.noreply.github.com> | 2020-12-12 22:58:05 +0100 |
|---|---|---|
| committer | Clément Zrounba <6691770+clement-z@users.noreply.github.com> | 2020-12-12 22:58:05 +0100 |
| commit | 2f025d79bf307a616f0df8da6613dbb7e90d8532 (patch) | |
| tree | 354b973b4a2d3977516a435de797f02b865b8040 /html/fonts.css | |
| parent | e509211fb8f6608e911721ce243aaa6d1725e7ff (diff) | |
| download | mumble-website-2f025d79bf307a616f0df8da6613dbb7e90d8532.tar.gz mumble-website-2f025d79bf307a616f0df8da6613dbb7e90d8532.zip | |
Try to add webfont format
Diffstat (limited to 'html/fonts.css')
| -rw-r--r-- | html/fonts.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/html/fonts.css b/html/fonts.css index ec15c62..90d1207 100644 --- a/html/fonts.css +++ b/html/fonts.css @@ -1,4 +1,21 @@ @font-face { + font-family: 'Cascadia Code Webfont'; + src: url('cascadiacode-light.woff2') format('woff2'), + url('cascadiacode-light.woff') format('woff'); + font-weight: 200; + font-style: normal; +} + +@font-face { + font-family: 'Cascadia Code Webfont'; + src: url('cascadiacode-regular-webfont.woff2') format('woff2'), + url('cascadiacode-regular-webfont.woff') format('woff'); + font-weight: normal; + font-style: normal; +} + +/* +@font-face { font-family: CascadiaCode; src: local("CascadiaCode-Light"), url(fonts/CascadiaCode-Light.ttf); font-weight:200; @@ -8,6 +25,7 @@ font-family: CascadiaCode; src: local("CascadiaCode-Regular"), url(fonts/CascadiaCode-Regular.ttf); } +*/ @font-face { font-family: OpenDyslexic; |
