瀏覽代碼

Entry meta font size for the read more links.

Jeff Ong 4 年之前
父節點
當前提交
d58ef5b953
共有 4 個文件被更改,包括 9 次插入9 次删除
  1. 3 3
      spearhead/assets/sass/_posts-and-pages.scss
  2. 3 3
      spearhead/style-rtl.css
  3. 3 3
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 3 - 3
spearhead/assets/sass/_posts-and-pages.scss

@@ -67,9 +67,10 @@
 
 .entry-content {
     .more-link {
-        margin-top: 0;
-        display: inline-block;
         color: var(--global--color-foreground);
+        display: inline-block;
+		font-size: var(--entry-meta--font-size);
+        margin-top: 0;
 
         &:hover {
             color: var(--global--color-primary-hover);
@@ -91,7 +92,6 @@
 
 	.excerpt-more-link {
 		.more-link {
-			font-size: calc(0.75 * var(--global--font-size-base));
 			margin-left: 1rem;
 		}
 	}

+ 3 - 3
spearhead/style-rtl.css

@@ -100,9 +100,10 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .entry-content .more-link {
-	margin-top: 0;
-	display: inline-block;
 	color: var(--global--color-foreground);
+	display: inline-block;
+	font-size: var(--entry-meta--font-size);
+	margin-top: 0;
 }
 
 .entry-content .more-link:hover {
@@ -123,7 +124,6 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .entry-content .excerpt-more-link .more-link {
-	font-size: calc(0.75 * var(--global--font-size-base));
 	margin-right: 1rem;
 }
 

+ 3 - 3
spearhead/style.css

@@ -100,9 +100,10 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .entry-content .more-link {
-	margin-top: 0;
-	display: inline-block;
 	color: var(--global--color-foreground);
+	display: inline-block;
+	font-size: var(--entry-meta--font-size);
+	margin-top: 0;
 }
 
 .entry-content .more-link:hover {
@@ -123,7 +124,6 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 }
 
 .entry-content .excerpt-more-link .more-link {
-	font-size: calc(0.75 * var(--global--font-size-base));
 	margin-left: 1rem;
 }
 

文件差異過大導致無法顯示
+ 0 - 0
spearhead/style.css.map


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