Animate hover on shareon icons

This commit is contained in:
Jake Howard 2022-09-23 17:03:40 +01:00
parent a0a3631ac0
commit 18ac4f9fbb
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,11 @@
.shareon-container {
margin-top: 1rem;
.shareon {
& > a,
& > button {
transition-property: opacity;
transition-duration: $link-hover-duration;
}
}
}

View File

@ -1,2 +1,3 @@
$dark-mode-background: $dark;
$dark-mode-text: $grey-lighter;
$link-hover-duration: 0.25s;

View File

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