add post vote ad

This commit is contained in:
Matewoo
2026-09-11 15:11:18 +02:00
parent 4d9d6ab02e
commit 6cceb3f762
4 changed files with 127 additions and 14 deletions
+93 -4
View File
@@ -90,9 +90,98 @@ button.selected {
#thank-you-message {
display: none;
margin-top: 0px;
font-size: 2rem;
color: lime;
position: fixed;
inset: 0;
z-index: 1000;
background: #000;
}
#thank-you-message img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.on-vote-ad-button {
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
cursor: pointer;
animation: ad-press 4s ease-in-out infinite;
}
.on-vote-ad-button img {
display: block;
}
.on-vote-ad-button:active {
transform: scale(0.95);
}
.ad-attention-circle {
position: fixed;
left: 50%;
bottom: -44px;
width: 88px;
height: 88px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.45);
pointer-events: none;
z-index: 10;
animation: ad-circle-flight 4s ease-in-out infinite;
}
@keyframes ad-circle-flight {
0%, 12% {
transform: translateX(-50%) scale(0.3);
opacity: 0;
}
20% {
transform: translateX(-50%) scale(1);
opacity: 1;
}
55% {
transform: translate(calc(-50% - 21vw), -210px) scale(1);
opacity: 0.8;
}
75% {
transform: translate(calc(-50% - 39vw), -105px) scale(0.3);
opacity: 0;
}
100% {
transform: translate(calc(-50% - 39vw), -105px) scale(0.3);
opacity: 0;
}
}
@keyframes ad-press {
0%, 65%, 100% {
transform: scale(1);
}
75% {
transform: scale(0.84);
}
84% {
transform: scale(1.04);
}
}
.close-ad-button {
position: absolute;
top: 24px;
right: 24px;
width: 64px;
height: 64px;
padding: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.7);
color: white;
font-size: 3rem;
line-height: 1;
cursor: pointer;
}
table {
@@ -196,4 +285,4 @@ margin-top: 125px; /* Abstand zur Überschrift */
font-size: 2rem;
font-weight: bold;
margin: 0;
}
}