瀏覽代碼

unify heading rules

Ben Dwyer 4 年之前
父節點
當前提交
af9a254728
共有 4 個文件被更改,包括 17 次插入17 次删除
  1. 13 13
      spearhead/assets/sass/_archive.scss
  2. 2 2
      spearhead/style-rtl.css
  3. 2 2
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 13 - 13
spearhead/assets/sass/_archive.scss

@@ -1,21 +1,21 @@
 .archive {
 
-    .page-header {
-        line-height: 56px;
-        margin-bottom: 16px;
-    }
+	.page-header {
+		line-height: var(--heading--line-height-h1);
+		margin-bottom: 16px;
+	}
 
-    .page-title {
-        font-size: var(--categories-header--font-size);
-        color: var(--entry-header--color);
-    }
+	.page-title {
+		font-size: var(--heading--font-size-h1);
+		color: var(--entry-header--color);
+	}
 
-    .site-main > article:first-of-type {
-        margin-top: 0;
-    }
+	.site-main > article:first-of-type {
+		margin-top: 0;
+	}
 }
 
 .archive-page-heading {
-    line-height: 2.2em;
-    margin-bottom: 5px;
+	line-height: 2.2em;
+	margin-bottom: 5px;
 }

+ 2 - 2
spearhead/style-rtl.css

@@ -288,12 +288,12 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .archive .page-header {
-	line-height: 56px;
+	line-height: var(--heading--line-height-h1);
 	margin-bottom: 16px;
 }
 
 .archive .page-title {
-	font-size: var(--categories-header--font-size);
+	font-size: var(--heading--font-size-h1);
 	color: var(--entry-header--color);
 }
 

+ 2 - 2
spearhead/style.css

@@ -288,12 +288,12 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .archive .page-header {
-	line-height: 56px;
+	line-height: var(--heading--line-height-h1);
 	margin-bottom: 16px;
 }
 
 .archive .page-title {
-	font-size: var(--categories-header--font-size);
+	font-size: var(--heading--font-size-h1);
 	color: var(--entry-header--color);
 }
 

File diff suppressed because it is too large
+ 0 - 0
spearhead/style.css.map


Some files were not shown because too many files changed in this diff