瀏覽代碼

fixed double underline on hover

Maggie Cabrera 4 年之前
父節點
當前提交
6294e20193
共有 4 個文件被更改,包括 37 次插入25 次删除
  1. 11 7
      spearhead/assets/sass/block-extends/_related-posts.scss
  2. 13 9
      spearhead/style-rtl.css
  3. 13 9
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 11 - 7
spearhead/assets/sass/block-extends/_related-posts.scss

@@ -40,6 +40,17 @@
 				opacity: 1;
 				opacity: 1;
 				line-height: var(--global--line-height-body);
 				line-height: var(--global--line-height-body);
 			}
 			}
+	
+			.jp-relatedposts-post-title {
+				font-size: var(--global--font-size-lg);
+				line-height: var(--heading--line-height-h2);
+				a {
+					color: var(--global--color-foreground);
+					&:hover {
+						text-decoration: none;
+					}
+				}
+			}
 		}
 		}
 	}
 	}
 
 
@@ -56,11 +67,4 @@
 			}
 			}
 		}
 		}
 	}
 	}
-	.jp-relatedposts-post-title {
-		font-size: var(--global--font-size-lg);
-		line-height: var(--heading--line-height-h2);
-		a {
-			color: var(--global--color-foreground);
-		}
-	}
 }
 }

+ 13 - 9
spearhead/style-rtl.css

@@ -511,6 +511,19 @@ ul.wp-block-categories,
 	line-height: var(--global--line-height-body);
 	line-height: var(--global--line-height-body);
 }
 }
 
 
+#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title {
+	font-size: var(--global--font-size-lg);
+	line-height: var(--heading--line-height-h2);
+}
+
+#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
+	color: var(--global--color-foreground);
+}
+
+#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover {
+	text-decoration: none;
+}
+
 #jp-relatedposts h3.jp-relatedposts-headline {
 #jp-relatedposts h3.jp-relatedposts-headline {
 	font-size: var(--global--font-size-lg);
 	font-size: var(--global--font-size-lg);
 	margin-bottom: var(--global--spacing-vertical);
 	margin-bottom: var(--global--spacing-vertical);
@@ -526,15 +539,6 @@ ul.wp-block-categories,
 	margin-bottom: var(--global--spacing-vertical);
 	margin-bottom: var(--global--spacing-vertical);
 }
 }
 
 
-#jp-relatedposts .jp-relatedposts-post-title {
-	font-size: var(--global--font-size-lg);
-	line-height: var(--heading--line-height-h2);
-}
-
-#jp-relatedposts .jp-relatedposts-post-title a {
-	color: var(--global--color-foreground);
-}
-
 .wp-block-newspack-blocks-homepage-articles.wpnbha article,
 .wp-block-newspack-blocks-homepage-articles.wpnbha article,
 .wp-block-a8c-blog-posts.wpnbha article {
 .wp-block-a8c-blog-posts.wpnbha article {
 	margin: 0 auto;
 	margin: 0 auto;

+ 13 - 9
spearhead/style.css

@@ -511,6 +511,19 @@ ul.wp-block-categories,
 	line-height: var(--global--line-height-body);
 	line-height: var(--global--line-height-body);
 }
 }
 
 
+#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title {
+	font-size: var(--global--font-size-lg);
+	line-height: var(--heading--line-height-h2);
+}
+
+#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
+	color: var(--global--color-foreground);
+}
+
+#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover {
+	text-decoration: none;
+}
+
 #jp-relatedposts h3.jp-relatedposts-headline {
 #jp-relatedposts h3.jp-relatedposts-headline {
 	font-size: var(--global--font-size-lg);
 	font-size: var(--global--font-size-lg);
 	margin-bottom: var(--global--spacing-vertical);
 	margin-bottom: var(--global--spacing-vertical);
@@ -526,15 +539,6 @@ ul.wp-block-categories,
 	margin-bottom: var(--global--spacing-vertical);
 	margin-bottom: var(--global--spacing-vertical);
 }
 }
 
 
-#jp-relatedposts .jp-relatedposts-post-title {
-	font-size: var(--global--font-size-lg);
-	line-height: var(--heading--line-height-h2);
-}
-
-#jp-relatedposts .jp-relatedposts-post-title a {
-	color: var(--global--color-foreground);
-}
-
 .wp-block-newspack-blocks-homepage-articles.wpnbha article,
 .wp-block-newspack-blocks-homepage-articles.wpnbha article,
 .wp-block-a8c-blog-posts.wpnbha article {
 .wp-block-a8c-blog-posts.wpnbha article {
 	margin: 0 auto;
 	margin: 0 auto;

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


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