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.
154 lines
2.2 KiB
154 lines
2.2 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;
|
|
opacity:0;
|
|
}
|
|
}
|
|
|
|
@keyframes slideInRight {
|
|
to {
|
|
left: 200px;
|
|
opacity:0;
|
|
}
|
|
}
|
|
|
|
.slide-in-left {
|
|
animation: slideInLeft 3s forwards;
|
|
}
|
|
|
|
.slide-in-right {
|
|
animation: slideInRight 3s forwards;
|
|
}
|
|
|
|
|
|
@keyframes Fade {
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.fading-animation {
|
|
animation: Fade 3s forwards;
|
|
}
|
|
|
|
|
|
@keyframes growing {
|
|
to {
|
|
transform: scale(5);
|
|
}
|
|
}
|
|
|
|
.growing-animation {
|
|
animation: growing 5s forwards;
|
|
}
|
|
|
|
#child-text {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.emoji-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.emoji-glow-text {
|
|
position: relative;
|
|
display: inline-block;
|
|
font-size: 5rem;
|
|
}
|
|
|
|
.emoji-glow-text::before {
|
|
content: attr(data-emoji);
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
filter: blur(1px) brightness(10);
|
|
opacity: 0.9;
|
|
z-index: -1;
|
|
}
|
|
|
|
.emoji-glow-img {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.emoji-glow-img::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
filter: blur(1px) brightness(10);
|
|
opacity: 0.9;
|
|
z-index: -1;
|
|
}
|
|
|
|
.birth-text{
|
|
font-size: 2rem;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#heart-gif{
|
|
position: absolute;
|
|
display:none;
|
|
background-image: url("../media/hearts.gif");
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 30vw;
|
|
height: 50vh;
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
z-index: -1;
|
|
} |