Ver Fonte

Merge pull request #2726 from Automattic/update/add-extra-line-height-to-post-titles

Spearhead: Add extra line height to post titles on archive pages.
Jeff Ong há 4 anos atrás
pai
commit
18d13b040e

+ 1 - 0
spearhead/assets/sass/_posts-and-pages.scss

@@ -1,6 +1,7 @@
 .archive .post .entry-title,
 .home .post .entry-title {
 	font-size: var(--global--font-size-lg);
+	line-height: var(--global--line-height-heading);
 	margin-bottom: 0;
 }
 

+ 1 - 0
spearhead/style-rtl.css

@@ -59,6 +59,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 .archive .post .entry-title,
 .home .post .entry-title {
 	font-size: var(--global--font-size-lg);
+	line-height: var(--global--line-height-heading);
 	margin-bottom: 0;
 }
 

+ 1 - 0
spearhead/style.css

@@ -59,6 +59,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 .archive .post .entry-title,
 .home .post .entry-title {
 	font-size: var(--global--font-size-lg);
+	line-height: var(--global--line-height-heading);
 	margin-bottom: 0;
 }
 

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
spearhead/style.css.map


+ 1 - 1
spearhead/variables.css

@@ -28,7 +28,7 @@
 	/* Line Height */
 	--global--line-height-base: 1;
 	--global--line-height-body: 1.8;
-	--global--line-height-heading: 1.3;
+	--global--line-height-heading: 1.4;
 
 	--global--link-font-weight: 500;
 

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff