💄 style: standarise font rendering across browsers

Use Source Serif ttf instead of otf for proper font rendering in Chromium.

Use Cascadia Code SemiLight to reduce filesize.
main
welpo 2 years ago
parent 526c8a1e67
commit 67aad3ef74
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -10,7 +10,7 @@
/* Copyright 2014 - 2023 Adobe (http://www.adobe.com/), with Reserved Font Name Source.adobe.com/). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Source Serif';
src: local('Source Serif'),
url('fonts/SourceSerif4Variable-Roman.otf.woff2') format("woff2");
url('fonts/SourceSerif4Variable-Roman.ttf.woff2') format("woff2");
font-display: swap;
}
@ -18,7 +18,7 @@
/* Copyright 2019 - Present, Microsoft Corporation, with Reserved Font Name 'Cascadia Code'. Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
font-family: 'Cascadia Code';
src: local('Cascadia Code'),
url('fonts/CascadiaCode.woff2') format("woff2");
url('fonts/CascadiaCode-SemiLight.woff2') format("woff2");
font-display: swap;
}

Binary file not shown.
Loading…
Cancel
Save