You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EvoLyte/public/style/reproduction.css

88 lines
1.1 KiB

body {
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url("../media/champ_amour.webp");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
font-family: Arial, sans-serif;
}
.field {
position: relative;
width: 400px;
height: 150px;
}
.emoji {
position: absolute;
top: 50%;
font-size: 5rem;
transform: translate(-50%, -50%);
}
.emoji-img {
width: 5rem;
height: 5rem;
object-fit: contain;
}
.left-emoji {
left: -100px;
}
.right-emoji {
left: 500px;
}
@keyframes slideInLeft {
to {
left: 200px;
}
}
@keyframes slideInRight {
to {
left: 200px;
}
}
.slide-in-left {
animation: slideInLeft 3s forwards;
}
.slide-in-right {
animation: slideInRight 3s forwards;
}
.fight-animation {
animation: fightShake 0.5s 3;
}
@keyframes Fade {
to {
opacity: 0;
}
}
.fadingAnimation {
animation: Fade 3s forwards;
}
@keyframes moveToCenter {
to {
left: 50%;
transform: translate(-50%, -50%);
}
}
.loving-animation {
animation: moveToCenter 1s forwards;
}