countdown

This commit is contained in:
2026-03-27 00:56:09 +01:00
parent f87af4fa7e
commit df0944f309
4 changed files with 62 additions and 13611 deletions

View File

@@ -155,9 +155,12 @@ tr.cleared-line-animation {
#messagesSpan {
position: absolute;
top: 5%;
top: 0;
left: 50%;
transform: translate(-50%, 0);
padding-top: 5%;
width: 100%;
height: 100%;
color: #fffc;
text-shadow: 1px 1px #000c;
font-size: 3vmin;
@@ -170,6 +173,31 @@ tr.cleared-line-animation {
overflow: hidden;
}
@keyframes countdown-animation {
from {
opacity: 0;
}
50% {
opacity: 100%;
}
to {
opacity: 0;
font-size: 20vmin;
}
}
#messagesSpan div.countdown-animation {
animation: countdown-animation;
animation-timing-function: ease-in-out;
animation-duration: .5s;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: -5%;
align-content: center;
}
@keyframes show-level-animation {
from {
opacity: 0;
@@ -182,7 +210,7 @@ tr.cleared-line-animation {
}
to {
opacity: 0;
transform: translateY(-100%) scaleY(0);
transform: translateY(-50%) scaleY(0);
line-height: 0;
}
}