浏览代码

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

Maywood: Fix strong-italic font-weight issue
Michael Cain 5 年之前
父节点
当前提交
820ab60f14
共有 4 个文件被更改,包括 16 次插入1 次删除
  1. 1 1
      maywood/functions.php
  2. 5 0
      maywood/sass/_extra-child-theme.scss
  3. 5 0
      maywood/style-rtl.css
  4. 5 0
      maywood/style.css

+ 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,