fixed double underline on hover

This commit is contained in:
Maggie Cabrera 2020-10-28 17:19:49 +01:00
parent 41eb7d1b12
commit 6294e20193
4 changed files with 38 additions and 26 deletions

View file

@ -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);
}
}
}

View file

@ -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;

View file

@ -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 one or more lines are too long