瀏覽代碼

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;
 

部分文件因文件數量過多而無法顯示