mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
feat(scss): make hyperlink style available outside .article-content
This commit is contained in:
parent
ed4a43096c
commit
da112157cf
2 changed files with 9 additions and 10 deletions
|
@ -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 {
|
||||
margin: 0 var(--content-padding);
|
||||
width: 100%;
|
||||
|
|
|
@ -30,6 +30,15 @@ a {
|
|||
&:hover {
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue