mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Tweak logo animation
This commit is contained in:
parent
406824c122
commit
be143ae1ed
1 changed files with 10 additions and 2 deletions
|
|
@ -17,12 +17,13 @@
|
|||
> .angestoepselt-logo {
|
||||
height: 1em;
|
||||
vertical-align: middle;
|
||||
transition: stroke motion.$subtle;
|
||||
|
||||
fill: none;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
stroke-width: 4px;
|
||||
stroke: colors.$gray-900;
|
||||
stroke: currentColor;
|
||||
stroke-miterlimit: 10;
|
||||
|
||||
.plug {
|
||||
|
|
@ -35,6 +36,13 @@
|
|||
}
|
||||
|
||||
&:hover > .angestoepselt-logo {
|
||||
stroke: currentColor;
|
||||
|
||||
.plug {
|
||||
fill: colors.$yellow-500;
|
||||
transition: fill #{0.5 * motion.$prominent-duration} motion.$prominent-timing;
|
||||
}
|
||||
|
||||
@keyframes angestoepselt-logo-hover {
|
||||
0% {
|
||||
transform: none;
|
||||
|
|
@ -43,7 +51,7 @@
|
|||
transform: translateX(0.6rem);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-0.6rem);
|
||||
transform: translateX(-0.4rem);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue