change font declarations, to prefer system fonts over other installed fonts

#965
This commit is contained in:
irasponsible 2024-12-04 11:31:50 +11:00 committed by GitHub
parent 4c0bfc332c
commit 1e8b14e5cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,8 +11,7 @@
--main-width: 40em; --main-width: 40em;
text-size-adjust: none; text-size-adjust: none;
--hairline-width: 1px; --hairline-width: 1px;
--monospace-font: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', --monospace-font: ui-monospace, monospace;
Menlo, Courier, monospace;
--blue-color: royalblue; --blue-color: royalblue;
--purple-color: blueviolet; --purple-color: blueviolet;
@ -190,8 +189,7 @@ html {
} }
body { body {
font-family: ui-rounded, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, font-family: ui-rounded, sans-serif, system-ui;
Ubuntu, Cantarell, Noto Sans, sans-serif;
font-size: var(--text-size); font-size: var(--text-size);
word-wrap: break-word; word-wrap: break-word;
overflow-wrap: break-word; overflow-wrap: break-word;