فهرست منبع

Maywood: Fix strong-italic font-weight issue

Niels Lange 5 سال پیش
والد
کامیت
179a9a7f1f
5فایلهای تغییر یافته به همراه36 افزوده شده و 22 حذف شده
  1. 14 0
      maywood/sass/_extra-child-theme.scss
  2. 11 0
      maywood/style-rtl.css
  3. 11 0
      maywood/style.css
  4. 0 11
      varia/sass/blocks/paragraph/_style.scss
  5. 0 11
      varia/style.css

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

@@ -258,6 +258,20 @@ a {
 	}
 }
 
+// Paragraph
+p {
+	b > i,
+	b > em,
+	em > b,
+	em > strong,
+	i > b,
+	i > strong,
+	strong > i,
+	strong > em {
+		font-weight: 700;
+	}
+}
+
 /**
  * Widgets
  */

+ 11 - 0
maywood/style-rtl.css

@@ -3916,6 +3916,17 @@ p:not(.site-title) a:hover {
 	}
 }
 
+p b > i,
+p b > em,
+p em > b,
+p em > strong,
+p i > b,
+p i > strong,
+p strong > i,
+p strong > em {
+	font-weight: 700;
+}
+
 /**
  * Widgets
  */

+ 11 - 0
maywood/style.css

@@ -3945,6 +3945,17 @@ p:not(.site-title) a:hover {
 	}
 }
 
+p b > i,
+p b > em,
+p em > b,
+p em > strong,
+p i > b,
+p i > strong,
+p strong > i,
+p strong > em {
+	font-weight: 700;
+}
+
 /**
  * Widgets
  */

+ 0 - 11
varia/sass/blocks/paragraph/_style.scss

@@ -3,15 +3,4 @@ p {
 	&.has-background {
 		padding: #{map-deep-get($config-global, "spacing", "unit")} #{map-deep-get($config-global, "spacing", "unit")};
 	}
-
-	b > i,
-	b > em,
-	em > b,
-	em > strong,
-	i > b,
-	i > strong,
-	strong > i,
-	strong > em {
-		font-weight: 700;
-	}
 }

+ 0 - 11
varia/style.css

@@ -1766,17 +1766,6 @@ p.has-background {
 	padding: 16px 16px;
 }
 
-p b > i,
-p b > em,
-p em > b,
-p em > strong,
-p i > b,
-p i > strong,
-p strong > i,
-p strong > em {
-	font-weight: 700;
-}
-
 .a8c-posts-list__listing {
 	list-style: none;
 	margin: 0;