Browse Source

fixed double underline on hover

Maggie Cabrera 4 years ago
parent
commit
6294e20193

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

@@ -40,6 +40,17 @@
 				opacity: 1;
 				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);
 }
 
+#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 {
 	font-size: var(--global--font-size-lg);
 	margin-bottom: var(--global--spacing-vertical);
@@ -526,15 +539,6 @@ ul.wp-block-categories,
 	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-a8c-blog-posts.wpnbha article {
 	margin: 0 auto;

+ 13 - 9
spearhead/style.css

@@ -511,6 +511,19 @@ ul.wp-block-categories,
 	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 {
 	font-size: var(--global--font-size-lg);
 	margin-bottom: var(--global--spacing-vertical);
@@ -526,15 +539,6 @@ ul.wp-block-categories,
 	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-a8c-blog-posts.wpnbha article {
 	margin: 0 auto;

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