0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 00:03:11 -05:00

Use Segoe UI for Latin characters before falling back to YaHei (#3616)

* Use Segoe UI for Latin characters before falling back to YaHei

This fixes issues with character rendering on hidpi displays and other
aliasing/hinting issues, as Segoe UI has been painstakingly hinted by
typographers for Microsoft while YaHei has not. See #3237 for more
details.

Closes #3237

* Include transformed LESS -> CSS in commit
This commit is contained in:
Mahmoud Al-Qudsi 2018-03-04 00:47:46 -06:00 committed by Lunny Xiao
parent 7ea7c57406
commit 19d5192e8c
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
@footer-margin: 40px; @footer-margin: 40px;
body { body {
font-family: "Lato", "Microsoft YaHei", Arial, Helvetica, sans-serif !important; font-family: "Lato", "Segoe UI", "Microsoft YaHei", Arial, Helvetica, sans-serif !important;
background-color: #fff; background-color: #fff;
overflow-y: scroll; overflow-y: scroll;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;