1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-25 09:27:28 +00:00

Always use Cantarell font

This commit is contained in:
Cadence Ember 2022-08-11 15:38:09 +12:00
parent c2df6d696b
commit 39c8d7102f
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17

View File

@ -15,10 +15,7 @@ $theme: () !default
src: url(/static/fonts/cantarell-#{$weight}.otf) format("opentype") src: url(/static/fonts/cantarell-#{$weight}.otf) format("opentype")
font-display: swap // prefer a fallback font until the font file is loaded font-display: swap // prefer a fallback font until the font file is loaded
body body, body.use-boring-font
font-family: "Bariol", sans-serif
body.use-boring-font
// this is useful so that cyrillic and other scripts don't look conspicuous compared to nearby latin letters. // this is useful so that cyrillic and other scripts don't look conspicuous compared to nearby latin letters.
// the use-boring-font class is activated based on the page and heuristics of its contents // the use-boring-font class is activated based on the page and heuristics of its contents
font-family: "Cantarell", sans-serif font-family: "Cantarell", sans-serif