浏览代码

remove sticky posts extra code

Ben Dwyer 4 年之前
父节点
当前提交
67e6769de3
共有 5 个文件被更改,包括 0 次插入16 次删除
  1. 0 4
      spearhead/assets/sass/_posts-and-pages.scss
  2. 0 5
      spearhead/style-rtl.css
  3. 0 5
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map
  5. 0 2
      spearhead/variables.css

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

@@ -53,11 +53,7 @@
 	}
 
 	.entry-content {
-		color: var(--sticky-posts--color-text);
 		font-size: var(--sticky-posts--entry-content-font-size);
-		> * {
-			color: var(--global--color-foreground-low-contrast);
-		}
 	}
 }
 

+ 0 - 5
spearhead/style-rtl.css

@@ -87,14 +87,9 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .post.sticky .entry-content {
-	color: var(--sticky-posts--color-text);
 	font-size: var(--sticky-posts--entry-content-font-size);
 }
 
-.post.sticky .entry-content > * {
-	color: var(--global--color-foreground-low-contrast);
-}
-
 .sticky-post {
 	display: none;
 }

+ 0 - 5
spearhead/style.css

@@ -87,14 +87,9 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .post.sticky .entry-content {
-	color: var(--sticky-posts--color-text);
 	font-size: var(--sticky-posts--entry-content-font-size);
 }
 
-.post.sticky .entry-content > * {
-	color: var(--global--color-foreground-low-contrast);
-}
-
 .sticky-post {
 	display: none;
 }

文件差异内容过多而无法显示
+ 0 - 0
spearhead/style.css.map


+ 0 - 2
spearhead/variables.css

@@ -83,7 +83,6 @@
 	--list--font-family: var(--global--font-secondary);
 
 	/* Sticky Posts */
-	--sticky-posts--color-text: var(--global--color-foreground);
 	--sticky-posts--color-background: #F9F9F9;
 	--sticky-posts--entry-title-font-size: 24px;
 	--sticky-posts--entry-content-font-size: 20px;
@@ -111,7 +110,6 @@
 		--button--padding-vertical: 24px;
 		--button--padding-horizontal: 32px;
 		--sticky-posts--color-background: var(--global--color-background);
-		--sticky-posts--color-text: var(--global--color-foreground-low-contrast);
 		--sticky-posts--alt-color-background: #2d3139;
 	}
 }

部分文件因为文件数量过多而无法显示