Sfoglia il codice sorgente

Stratford: update style-child-theme-editor

Andrés 5 anni fa
parent
commit
ba4489660f

+ 4 - 2
stratford/sass/style-child-theme-editor.scss

@@ -122,7 +122,8 @@ h6 {
 			> a {
 				font-size: $font_size_base;
 				font-weight: normal;
-				font-family: $font_family_secondary;
+				font-family: $font_family_secondary; // For browsers without CSS custom properties support.
+				font-family: var( --font-base, $font_family_secondary );
 				line-height: $font_line_height_body;
 			}
 			> time {
@@ -143,7 +144,8 @@ h6 {
 	border: 1px solid $color_background_light;
 	padding: $spacing_horizontal;
 	p {
-		font-family: $font_family_secondary;
+		font-family: $font_family_secondary; // For browsers without CSS custom properties support.
+		font-family: var( --font-base, $font_family_secondary );
 		font-size: $font_size_md;
 		line-height: $font_line_height_body;
 	}

+ 2 - 0
stratford/style-editor.css

@@ -1056,6 +1056,7 @@ h6 {
 	font-size: 1rem;
 	font-weight: normal;
 	font-family: "Lato", sans-serif;
+	font-family: var(--font-base, "Lato", sans-serif);
 	line-height: 1.6;
 }
 
@@ -1077,6 +1078,7 @@ h6 {
 .wp-block-quote[style*="text-align:center"] p,
 .wp-block-quote[style*="text-align:right"] p {
 	font-family: "Lato", sans-serif;
+	font-family: var(--font-base, "Lato", sans-serif);
 	font-size: 1.2rem;
 	line-height: 1.6;
 }