adjust animation

This commit is contained in:
isUnknown 2024-08-28 13:30:30 +02:00
parent 5587ea1e7c
commit 7b352e26e4
2 changed files with 3 additions and 4 deletions

View file

@ -35,9 +35,8 @@ body.progress * {
.logo {
font-weight: normal;
transition: opacity 0.2s ease-in-out;
font-size: var(--font-size-h2);
transition: font-size 0.3s var(--curve-quick-slow);
transition: font-size 0.3s ease-in-out;
line-height: 1;
}
@ -47,7 +46,7 @@ body.progress * {
.logo > *:not(:first-child) {
margin-left: 2.4ch;
transition: margin 0.3s var(--curve-quick-slow);
transition: margin 0.3s ease-in-out;
}
.social-icons {

View file

@ -121,7 +121,7 @@
line-height: 1;
transform: translateY(0.55rem);
margin-left: 0;
transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
transition: max-width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.main-nav--small .logo__detail {