- Add "Click on the screen to play" on home page
This commit is contained in:
Misthaa
2024-09-21 22:41:10 +02:00
parent 696447a0d1
commit 1717ecc4d1
2 changed files with 35 additions and 2 deletions

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* home.css :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/07 12:00:55 by edbernar #+# #+# */
/* Updated: 2024/09/20 00:07:01 by edbernar ### ########.fr */
/* Updated: 2024/09/21 20:08:48 by marvin ### ########.fr */
/* */
/* ************************************************************************** */
@ -28,6 +28,26 @@
}
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translate(-50%, 100%);
}
100% {
opacity: 1;
transform: translate(-50%, 0);
}
}
@keyframes blink {
0% {
opacity: 1;
}
100% {
opacity: 0.3;
}
}
::-webkit-scrollbar {
width: 10px;
}
@ -375,6 +395,17 @@ button {
height: auto;
}
.centered-text {
position: absolute;
bottom: 65px;
left: 50%;
transform: translateX(-50%);
font-size: 24px;
color: white;
opacity: 0;
animation: fadeInUp 1.5s forwards 12s, blink 1.5s 13.5s infinite alternate;
}
.info {
position: absolute;
bottom: 0;