Make WordPress Core

Changeset 52661


Ignore:
Timestamp:
02/02/2022 03:11:46 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Add Noto Serif as a fallback font before Garamond.

This aims to provide better experience on Chromebooks. Noto Serif is also the fallback font for Android devices.

Follow-up to [46271].

Props sabernhardt, nmschaller.
Fixes #50723.

Location:
trunk/src/wp-content/themes/twentytwenty
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

    r52615 r52661  
    116116.editor-styles-wrapper dl,
    117117.editor-styles-wrapper dt {
    118     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     118    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    119119    letter-spacing: normal;
    120120}
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    r52615 r52661  
    116116.editor-styles-wrapper dl,
    117117.editor-styles-wrapper dt {
    118     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     118    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    119119    letter-spacing: normal;
    120120}
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css

    r50275 r52661  
    7575body#tinymce.wp-editor.content dl,
    7676body#tinymce.wp-editor.content dt {
    77     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     77    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    7878    letter-spacing: normal;
    7979}
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css

    r50275 r52661  
    7575body#tinymce.wp-editor.content dl,
    7676body#tinymce.wp-editor.content dt {
    77     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     77    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    7878    letter-spacing: normal;
    7979}
  • trunk/src/wp-content/themes/twentytwenty/style-rtl.css

    r52618 r52661  
    35263526
    35273527.entry-content {
    3528     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     3528    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    35293529    letter-spacing: normal;
    35303530}
     
    41214121.widget_text dt,
    41224122.widget-content .rssSummary {
    4123     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     4123    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    41244124    letter-spacing: normal;
    41254125}
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r52618 r52661  
    35483548
    35493549.entry-content {
    3550     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     3550    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    35513551    letter-spacing: normal;
    35523552}
     
    41554155.widget_text dt,
    41564156.widget-content .rssSummary {
    4157     font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
     4157    font-family: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
    41584158    letter-spacing: normal;
    41594159}
Note: See TracChangeset for help on using the changeset viewer.