feat(scss): make hyperlink style available outside .article-content

This commit is contained in:
Jimmy Cai 2020-09-09 17:22:19 +02:00
parent ed4a43096c
commit da112157cf
No known key found for this signature in database
GPG Key ID: 3EA408E527F37B18
2 changed files with 9 additions and 10 deletions

View File

@ -280,16 +280,6 @@
} }
} }
a.link {
box-shadow: 0px -2px 0px rgba(var(--link-background-color), var(--link-background-opacity)) inset;
transition: all 0.3s ease;
&:hover {
box-shadow: 0px -10px 0px rgba(var(--link-background-color), var(--link-background-opacity-hover)) inset;
}
}
table { table {
margin: 0 var(--content-padding); margin: 0 var(--content-padding);
width: 100%; width: 100%;

View File

@ -30,6 +30,15 @@ a {
&:hover { &:hover {
color: var(--accent-color-darker); color: var(--accent-color-darker);
} }
&.link {
box-shadow: 0px -2px 0px rgba(var(--link-background-color), var(--link-background-opacity)) inset;
transition: all 0.3s ease;
&:hover {
box-shadow: 0px -10px 0px rgba(var(--link-background-color), var(--link-background-opacity-hover)) inset;
}
}
} }
.container { .container {