Explorar o código

Merge pull request #1335 from Automattic/update/maywood-cover-font-size

Maywood: Reduce font size in cover block
Takashi Irie %!s(int64=5) %!d(string=hai) anos
pai
achega
e9d47ec1d3

+ 0 - 1
maywood/sass/_config-child-theme-deep.scss

@@ -38,7 +38,6 @@ $config-global: (
 			"xxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
 			"xxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
 			"xxxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
-			"xxxxxl": ($typescale-base * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio * $typescale-ratio),
 		),
 		/* Letter Spacing */
 		"letter-spacing": (

+ 6 - 6
maywood/sass/_extra-child-theme.scss

@@ -231,27 +231,27 @@ a {
 		min-height: #{20 * map-deep-get($config-global, "spacing", "vertical")};
 
 		h1 {
-			font-size: #{map-deep-get($config-global, "font", "size", "xxxxxl")};
+			font-size: #{map-deep-get($config-global, "font", "size", "xxxxl")};
 		}
 
 		h2 {
-			font-size: #{map-deep-get($config-global, "font", "size", "xxxxl")};
+			font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
 		}
 
 		h3 {
-			font-size: #{map-deep-get($config-global, "font", "size", "xxxl")};
+			font-size: #{map-deep-get($config-global, "font", "size", "xxl")};
 		}
 
 		h4 {
-			font-size: #{map-deep-get($config-global, "font", "size", "xxl")};
+			font-size: #{map-deep-get($config-global, "font", "size", "xl")};
 		}
 
 		h5 {
-			font-size: #{map-deep-get($config-global, "font", "size", "xl")};
+			font-size: #{map-deep-get($config-global, "font", "size", "lg")};
 		}
 
 		h6 {
-			font-size: #{map-deep-get($config-global, "font", "size", "lg")};
+			font-size: #{map-deep-get($config-global, "font", "size", "md")};
 		}
 	}
 }

+ 7 - 7
maywood/sass/style-child-theme-editor.scss

@@ -35,12 +35,12 @@
 /**
  * Extras
  */
-$font_size_xxxxxl: map-deep-get($config-global, "font", "size", "xxxxxl");
 $font_size_xxxxl: map-deep-get($config-global, "font", "size", "xxxxl");
 $font_size_xxxl: map-deep-get($config-global, "font", "size", "xxxl");
 $font_size_xxl: map-deep-get($config-global, "font", "size", "xxl");
 $font_size_xl: map-deep-get($config-global, "font", "size", "xl");
 $font_size_lg: map-deep-get($config-global, "font", "size", "lg");
+$font_size_md: map-deep-get($config-global, "font", "size", "md");
 
 html,
 body {
@@ -73,27 +73,27 @@ body {
 		min-height: #{20 * map-deep-get($config-global, "spacing", "vertical")};
 
 		h1 {
-			font-size: (strip-unit( $font_size_xxxxxl ) + 0em);
+			font-size: (strip-unit( $font_size_xxxxl ) + 0em);
 		}
 
 		h2 {
-			font-size: (strip-unit( $font_size_xxxxl ) + 0em);
+			font-size: (strip-unit( $font_size_xxxl ) + 0em);
 		}
 
 		h3 {
-			font-size: (strip-unit( $font_size_xxxl ) + 0em);
+			font-size: (strip-unit( $font_size_xxl ) + 0em);
 		}
 
 		h4 {
-			font-size: (strip-unit( $font_size_xxl ) + 0em);
+			font-size: (strip-unit( $font_size_xl ) + 0em);
 		}
 
 		h5 {
-			font-size: (strip-unit( $font_size_xl ) + 0em);
+			font-size: (strip-unit( $font_size_lg ) + 0em);
 		}
 
 		h6 {
-			font-size: (strip-unit( $font_size_lg ) + 0em);
+			font-size: (strip-unit( $font_size_md ) + 0em);
 		}
 	}
 }

+ 6 - 6
maywood/style-editor.css

@@ -912,26 +912,26 @@ body {
 	}
 	.wp-block-cover h1,
 	.wp-block-cover-image h1 {
-		font-size: 3.58318em;
+		font-size: 2.98598em;
 	}
 	.wp-block-cover h2,
 	.wp-block-cover-image h2 {
-		font-size: 2.98598em;
+		font-size: 2.48832em;
 	}
 	.wp-block-cover h3,
 	.wp-block-cover-image h3 {
-		font-size: 2.48832em;
+		font-size: 2.0736em;
 	}
 	.wp-block-cover h4,
 	.wp-block-cover-image h4 {
-		font-size: 2.0736em;
+		font-size: 1.728em;
 	}
 	.wp-block-cover h5,
 	.wp-block-cover-image h5 {
-		font-size: 1.728em;
+		font-size: 1.44em;
 	}
 	.wp-block-cover h6,
 	.wp-block-cover-image h6 {
-		font-size: 1.44em;
+		font-size: 1.2em;
 	}
 }

+ 6 - 6
maywood/style-rtl.css

@@ -3639,27 +3639,27 @@ p:not(.site-title) a:hover {
 	}
 	.wp-block-cover h1,
 	.wp-block-cover-image h1 {
-		font-size: 3.58318rem;
+		font-size: 2.98598rem;
 	}
 	.wp-block-cover h2,
 	.wp-block-cover-image h2 {
-		font-size: 2.98598rem;
+		font-size: 2.48832rem;
 	}
 	.wp-block-cover h3,
 	.wp-block-cover-image h3 {
-		font-size: 2.48832rem;
+		font-size: 2.0736rem;
 	}
 	.wp-block-cover h4,
 	.wp-block-cover-image h4 {
-		font-size: 2.0736rem;
+		font-size: 1.728rem;
 	}
 	.wp-block-cover h5,
 	.wp-block-cover-image h5 {
-		font-size: 1.728rem;
+		font-size: 1.44rem;
 	}
 	.wp-block-cover h6,
 	.wp-block-cover-image h6 {
-		font-size: 1.44rem;
+		font-size: 1.2rem;
 	}
 }
 

+ 6 - 6
maywood/style.css

@@ -3656,27 +3656,27 @@ p:not(.site-title) a:hover {
 	}
 	.wp-block-cover h1,
 	.wp-block-cover-image h1 {
-		font-size: 3.58318rem;
+		font-size: 2.98598rem;
 	}
 	.wp-block-cover h2,
 	.wp-block-cover-image h2 {
-		font-size: 2.98598rem;
+		font-size: 2.48832rem;
 	}
 	.wp-block-cover h3,
 	.wp-block-cover-image h3 {
-		font-size: 2.48832rem;
+		font-size: 2.0736rem;
 	}
 	.wp-block-cover h4,
 	.wp-block-cover-image h4 {
-		font-size: 2.0736rem;
+		font-size: 1.728rem;
 	}
 	.wp-block-cover h5,
 	.wp-block-cover-image h5 {
-		font-size: 1.728rem;
+		font-size: 1.44rem;
 	}
 	.wp-block-cover h6,
 	.wp-block-cover-image h6 {
-		font-size: 1.44rem;
+		font-size: 1.2rem;
 	}
 }