1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-01-07 14:01:13 +00:00

Use boring font for consistent non-latin script appearance based on page heuristics

This commit is contained in:
Cadence Ember
2022-05-06 01:36:40 +12:00
parent d211470dca
commit 7461f25ca9
13 changed files with 43 additions and 6 deletions

View File

@@ -11,8 +11,10 @@ $theme: () !default
body
font-family: "Bariol", sans-serif
[lang="uk"] body // consistent cyrillic
font-family: "Cantarell", sans-serif
body.use-boring-font
// 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
font-family: sans-serif
input, button, textarea
font-family: inherit