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