Skip to content

Commit 63c7374

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52661 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 3707a6c commit 63c7374

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Inter variable font. Usage:
115115
.editor-styles-wrapper ul,
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
}
121121

src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Inter variable font. Usage:
115115
.editor-styles-wrapper ul,
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
}
121121

src/wp-content/themes/twentytwenty/assets/css/editor-style-classic-rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ body#tinymce.wp-editor.content ol,
7474
body#tinymce.wp-editor.content ul,
7575
body#tinymce.wp-editor.content dl,
7676
body#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
}
8080

src/wp-content/themes/twentytwenty/assets/css/editor-style-classic.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ body#tinymce.wp-editor.content ol,
7474
body#tinymce.wp-editor.content ul,
7575
body#tinymce.wp-editor.content dl,
7676
body#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
}
8080

src/wp-content/themes/twentytwenty/style-rtl.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3525,7 +3525,7 @@ figure.wp-block-table.is-style-stripes {
35253525
/* Font Families ----------------------------- */
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
}
35313531

@@ -4120,7 +4120,7 @@ div.comment:first-of-type {
41204120
.widget_text dl,
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
}
41264126

src/wp-content/themes/twentytwenty/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3547,7 +3547,7 @@ figure.wp-block-table.is-style-stripes {
35473547
/* Font Families ----------------------------- */
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
}
35533553

@@ -4154,7 +4154,7 @@ div.comment:first-of-type {
41544154
.widget_text dl,
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
}
41604160

0 commit comments

Comments
 (0)