Skip to content
Permalink
Browse files

Twenty Seventeen: Update `font-family` for Simplified Chinese (zh_CN).

Fix the `font-family` used for Simplified Chinese (zh_CN) in the block editor CSS.

Props vaishalipanchal, ze3kr.
Fixes #45408.



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44235 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
laurelfulford committed Dec 16, 2018
1 parent a8e72a1 commit 37b8a459e48b91c1a9a860f39de8eaf5d16b79a9
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css
@@ -155,11 +155,14 @@ html[lang="ur"] .edit-post-visual-editor h6 {

/* Typography for Chinese Font */

html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block,
html[lang="zh-CN"] .edit-post-visual-editor .editor-block-list__block {
html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block {
font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif;
}

html[lang="zh-CN"] .edit-post-visual-editor .editor-block-list__block {
font-family: "PingFang SC", "Helvetica Neue", Helvetica, STHeitiSC-Light, Arial, sans-serif;
}

html[lang^="zh-"] .edit-post-visual-editor h1,
html[lang^="zh-"] .edit-post-visual-editor h2,
html[lang^="zh-"] .edit-post-visual-editor h3,

0 comments on commit 37b8a45

Please sign in to comment.
You can’t perform that action at this time.