Browse Source

Maywood: Fix strong-italic font-weight issue

Niels Lange 5 years ago
parent
commit
10ab2a0f5f
2 changed files with 24 additions and 0 deletions
  1. 13 0
      maywood/sass/style-child-theme-editor.scss
  2. 11 0
      maywood/style-editor.css

+ 13 - 0
maywood/sass/style-child-theme-editor.scss

@@ -51,6 +51,19 @@ b, strong {
 	font-weight: 500;
 }
 
+p {
+	b > i,
+	b > em,
+	em > b,
+	em > strong,
+	i > b,
+	i > strong,
+	strong > i,
+	strong > em {
+		font-weight: 700;
+	}
+}
+
 .editor-post-title__block .editor-post-title__input {
 	font-weight: 300;
 	text-align: center;

+ 11 - 0
maywood/style-editor.css

@@ -1016,6 +1016,17 @@ b, strong {
 	font-weight: 500;
 }
 
+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;
+}
+
 .editor-post-title__block .editor-post-title__input {
 	font-weight: 300;
 	text-align: center;