From 37b8a459e48b91c1a9a860f39de8eaf5d16b79a9 Mon Sep 17 00:00:00 2001 From: laurelfulford Date: Sun, 16 Dec 2018 19:46:55 +0000 Subject: [PATCH] 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 --- .../themes/twentyseventeen/assets/css/editor-blocks.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index b8b66a68af..97e4d9a046 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/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,