Преглед на файлове

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 преди 4 години
родител
ревизия
18d13b040e
променени са 5 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 1 0
      spearhead/assets/sass/_posts-and-pages.scss
  2. 1 0
      spearhead/style-rtl.css
  3. 1 0
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map
  5. 1 1
      spearhead/variables.css

+ 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;
 }
 

Файловите разлики са ограничени, защото са твърде много
+ 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;
 

Някои файлове не бяха показани, защото твърде много файлове са промени