Jelajahi Sumber

Merge pull request #1702 from Automattic/fix/#1700

Maywood: Fix strong-italic font-weight issue
Michael Cain 5 tahun lalu
induk
melakukan
820ab60f14

+ 1 - 1
maywood/functions.php

@@ -133,7 +133,7 @@ function maywood_fonts_url() {
 	if ( 'off' !== $ibm_plex_sans ) {
 		$font_families = array();
 
-		$font_families[] = 'IBM Plex Sans:300,300i,500,700';
+		$font_families[] = 'IBM Plex Sans:300,300i,500,500i,700';
 
 		$query_args = array(
 			'family' => urlencode( implode( '|', $font_families ) ),

+ 5 - 0
maywood/sass/_extra-child-theme.scss

@@ -27,6 +27,10 @@ a {
 	}
 }
 
+b, strong {
+	font-weight: 500;
+}
+
 .site-branding,
 .main-navigation,
 .entry-header,
@@ -300,6 +304,7 @@ a {
 		}
 	}
 }
+
 /**
  * Widgets
  */

+ 5 - 0
maywood/style-rtl.css

@@ -3979,6 +3979,11 @@ p:not(.site-title) a:hover {
 	text-decoration: none;
 }
 
+b,
+strong {
+	font-weight: 500;
+}
+
 .site-branding,
 .main-navigation,
 .entry-header,

+ 5 - 0
maywood/style.css

@@ -4008,6 +4008,11 @@ p:not(.site-title) a:hover {
 	text-decoration: none;
 }
 
+b,
+strong {
+	font-weight: 500;
+}
+
 .site-branding,
 .main-navigation,
 .entry-header,