176 lines
2.4 KiB
CSS
176 lines
2.4 KiB
CSS
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #0b6528;
|
|
font-family: Arial, sans-serif;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.table {
|
|
width: 900px;
|
|
margin-top: 20px;
|
|
background: #134b2f;
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 0 20px #000a;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.info {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
.chip {
|
|
background: #222;
|
|
padding: 8px 14px;
|
|
border-radius: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.bet {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.bet input {
|
|
width: 80px;
|
|
padding: 6px;
|
|
font-size: 16px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
}
|
|
|
|
button {
|
|
padding: 7px 14px;
|
|
font-size: 16px;
|
|
border: none;
|
|
background: #28a745;
|
|
color: white;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.secondary {
|
|
background: #dc3545;
|
|
}
|
|
|
|
button:hover {
|
|
filter: brightness(1.15);
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.board {
|
|
width: 48%;
|
|
background: #0d3d23;
|
|
padding: 15px;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
box-shadow: inset 0 0 10px #000a;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 24px;
|
|
margin-bottom: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.hand {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
min-height: 120px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card {
|
|
width: 70px;
|
|
height: 100px;
|
|
background: white;
|
|
color: black;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
padding: 8px;
|
|
font-size: 20px;
|
|
box-shadow: 0 0 5px #000;
|
|
}
|
|
|
|
.card.red {
|
|
color: red;
|
|
}
|
|
|
|
.card.back {
|
|
background: #222;
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.values {
|
|
font-size: 20px;
|
|
margin-top: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.actions {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
#message {
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
margin-top: 15px;
|
|
min-height: 40px;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.win {
|
|
color: #00ff55;
|
|
animation: glowWin 1s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes glowWin {
|
|
from { text-shadow: 0 0 10px #00ff55; }
|
|
to { text-shadow: 0 0 20px #55ff88; }
|
|
}
|
|
|
|
.lose {
|
|
color: #ff3333;
|
|
animation: glowLose 1s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes glowLose {
|
|
from { text-shadow: 0 0 10px #ff3333; }
|
|
to { text-shadow: 0 0 20px #ff7777; }
|
|
}
|
|
|
|
footer {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
opacity: .8;
|
|
font-size: 14px;
|
|
}
|