Animate hover on shareon icons
This commit is contained in:
parent
a0a3631ac0
commit
18ac4f9fbb
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
.shareon-container {
|
||||
margin-top: 1rem;
|
||||
|
||||
.shareon {
|
||||
& > a,
|
||||
& > button {
|
||||
transition-property: opacity;
|
||||
transition-duration: $link-hover-duration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
$dark-mode-background: $dark;
|
||||
$dark-mode-text: $grey-lighter;
|
||||
$link-hover-duration: 0.25s;
|
||||
|
|
|
@ -40,7 +40,7 @@ main {
|
|||
|
||||
a {
|
||||
transition-property: color, background-color;
|
||||
transition-duration: 0.25s !important;
|
||||
transition-duration: $link-hover-duration !important;
|
||||
|
||||
@include dark-mode {
|
||||
&:hover {
|
||||
|
|
Loading…
Reference in a new issue