diff options
author | Mahmoud Al-Qudsi <mqudsi@neosmart.net> | 2018-03-04 00:47:46 -0600 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-03-04 14:47:46 +0800 |
commit | 19d5192e8c654ea186719032bfb848b12d3760ab (patch) | |
tree | fc81cdd072589db64312e9a583ed610328d30318 /public/less | |
parent | 7ea7c57406982c7f94b1cb9788ea4514dafbf205 (diff) | |
download | gitea-19d5192e8c654ea186719032bfb848b12d3760ab.tar.gz gitea-19d5192e8c654ea186719032bfb848b12d3760ab.zip |
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
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index c17bdcb24c..1f37ba1887 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -1,7 +1,7 @@ @footer-margin: 40px; 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; overflow-y: scroll; -webkit-font-smoothing: antialiased; |