feature: styling

This commit is contained in:
Benno Tielen 2024-08-23 09:11:41 +02:00
parent 21145ea632
commit 66f9e07111
4 changed files with 20 additions and 4 deletions

View file

@ -4,6 +4,8 @@
position: relative; position: relative;
bottom: -15px; bottom: -15px;
left: 10px; left: 10px;
animation: slidein 0.3s backwards;
animation-delay: 0.5s;
} }
.container { .container {
@ -16,11 +18,25 @@
font-size: 120px; font-size: 120px;
line-height: 105px; line-height: 105px;
padding: 20px 0; padding: 20px 0;
animation: slidein 0.2s backwards;
animation-delay: 1s;
} }
.berlin { .berlin {
position: relative; position: relative;
left: 10px; left: 10px;
animation: slidein 0.3s backwards;
animation-delay: 1.5s;
}
@keyframes slidein {
from {
transform: translateX(-150%);
}
to {
transform: translateX(0);
}
} }
@media screen and (max-width: 420px) { @media screen and (max-width: 420px) {

View file

@ -69,7 +69,7 @@ export const HomeBanner = forwardRef<HomeBannerHandle, HomeBannerProps>(
context.shadowBlur = 10 context.shadowBlur = 10
context.shadowColor = 'white' context.shadowColor = 'white'
drawStar(context) setTimeout(() => drawStar(context), i * 100);
} }
} }
}, [drawStar, stars]) }, [drawStar, stars])

View file

@ -22,10 +22,10 @@ export const Menu = (props: MenuProps) => {
Home Home
</a> </a>
<a className={styles.menuLink} href={''}> <a className={styles.menuLink} href={''}>
Gemeinschaft Gemeinschaft finden
</a> </a>
<a className={styles.menuLink} href={''}> <a className={styles.menuLink} href={''}>
Sakramenten Glauben leben
</a> </a>
<a className={styles.menuLink} href={''}> <a className={styles.menuLink} href={''}>
Kontakt Kontakt

View file

@ -14,7 +14,7 @@
.itemsLeft { .itemsLeft {
display: flex; display: flex;
gap: 20px; gap: 30px;
} }
.menuLink { .menuLink {