Files
website/static/css/site.css
2025-03-28 13:04:53 +00:00

95 lines
1.9 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.ball {
display: inline-flex;
justify-content: center;
align-items: center;
background-color: #eee;
border-radius: 50%;
min-width: 32px;
height: 32px;
padding: 6px;
margin-right: 6px;
font-weight: bold;
text-align: center;
will-change: transform;
}
.ball-container {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.matched {
background-color: #22c55e;
color: white;
font-weight: bold;
}
.bonus {
border: 2px solid #facc15;
}
.matched-bonus {
background-color: #facc15;
color: black;
font-weight: bold;
animation: pulse 1s infinite;
}
.prize-badge {
background-color: #9333ea;
color: white;
border-radius: 9999px;
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
box-shadow: 0 0 6px rgba(0,0,0,0.2);
}
.ball.bonus {
background-color: #d8b4fe;
}
.ball.matched {
background-color: #4ade80 !important;
animation: pulse 1s ease-in-out infinite;
color: white !important;
border: 2px solid red !important;
}
.ball.game-thunderball {
background-color: #1e3a8a; /* Dark blue */
color: white;
border: 2px solid white;
border-radius: 12px; /* Remove side rounding */
}
/* Lotto main balls Orange */
.ball.game-lotto {
background-color: #f97316; /* Bright orange */
color: white;
border: none;
border-radius: 12px;
}
/* Optional: Euromillions, Set For Life define as needed */
.ball.game-euromillions {
background-color: #2563eb; /* Royal blue */
color: white;
border-radius: 50%;
}
.ball.game-setforlife {
background-color: #6b7280; /* Slate gray */
color: white;
border-radius: 50%;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.15); }
100% { transform: scale(1); }
}
.pulse {
animation: pulse 0.8s ease-in-out infinite;
transform-origin: center;
}