WordPress.org

Make WordPress Core

Changeset 44235


Ignore:
Timestamp:
12/16/2018 07:46:55 PM (11 months ago)
Author:
laurelfulford
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

    r44213 r44235  
    156156/* Typography for Chinese Font */
    157157
    158 html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block,
     158html[lang^="zh-"] .edit-post-visual-editor .editor-block-list__block {
     159    font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif;
     160}
     161
    159162html[lang="zh-CN"] .edit-post-visual-editor .editor-block-list__block {
    160     font-family: "PingFang TC", "Helvetica Neue", Helvetica, STHeitiTC-Light, Arial, sans-serif;
     163    font-family: "PingFang SC", "Helvetica Neue", Helvetica, STHeitiSC-Light, Arial, sans-serif;
    161164}
    162165
Note: See TracChangeset for help on using the changeset viewer.