summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@126.com>2021-05-31 23:34:25 +0800
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-05-31 18:18:39 +0200
commite36e33937f9cda7fde9ab56f9eb25f6f549700c7 (patch)
treee19db0335011c1eb334cb5efe7526b8645ff7a96
parent226a545d33667a0c9526593a5182ac0a849933e2 (diff)
tdf#142531: fix help css for Simplified Chinese display on Linux
The font "system-ui" may cause trouble in some system, although it may look good in several systems. See e.g. https://infinnie.github.io/blog/2017/systemui.html. This change removes the "system-ui" font from the list, still put "Segoe UI" before any others, but moves "sans-serif" forward so that it falls back to the UI font in most linux distros. Tested on Win10 and this does not impact the display for English or Chinese, but really improves a lot on Linux (Fedora 32 for me). Change-Id: I1cba731cb846d1dc8c708b12510167c48de539e5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116487 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--help3xsl/default.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 29cb0f0105..2eff6c39ff 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -40,7 +40,7 @@ h6,
.listitem,
.listitemintable,
.tablecontent {
- font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
+ font-family: -apple-system, "Segoe UI", sans-serif, Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
}
.input {
background-color: rgba(0,0,0,0.04);