assets: fix font-family fallback

If not have monospace, fonts will fallback to sans-serif when these fonts not available.
This commit is contained in:
Akatsuki Rui 2021-01-28 22:41:39 +08:00
parent 70cc14fcbe
commit d8dd69be96
No known key found for this signature in database
GPG Key ID: A97F41D8C62BF67C

View File

@ -52,8 +52,8 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family);
--code-font-family: Menlo, Monaco, Consolas, "Courier New";
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
/*