128 lines
2.2 KiB
CSS
128 lines
2.2 KiB
CSS
body {
|
|
background: radial-gradient(circle at top, #111, #000);
|
|
color: #0f0;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
height: 100vh;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
body::before {
|
|
content: "♠ ♥ Welcome to Gambling API ♦ ♣";
|
|
font-size: 24px;
|
|
color: #0f0;
|
|
margin-bottom: 40px;
|
|
display: block;
|
|
text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
|
|
}
|
|
|
|
button {
|
|
background-color: #0f0;
|
|
color: #000;
|
|
border: none;
|
|
padding: 15px 30px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
box-shadow: 0 0 10px #0f0, 0 0 5px #0f0 inset;
|
|
transition: background 0.2s ease-in-out, transform 0.2s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #1f1;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
button.logout {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
padding: 10px 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.balance {
|
|
margin-top: 20px;
|
|
color: #0f0;
|
|
text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
|
|
}
|
|
|
|
.lobby-buttons {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.lobby-room {
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border: 2px solid #0f0;
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
margin-top: 40px;
|
|
width: 400px;
|
|
text-align: center;
|
|
box-shadow: 0 0 10px #0f0;
|
|
}
|
|
|
|
.lobby-room h2 {
|
|
color: #0f0;
|
|
font-size: 20px;
|
|
margin-bottom: 20px;
|
|
text-shadow: 0 0 5px #0f0;
|
|
}
|
|
|
|
#player-list {
|
|
color: #fff;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#join-form {
|
|
margin-top: 20px;
|
|
gap: 10px;
|
|
display: none; /* default hidden */
|
|
}
|
|
|
|
#join-form:not(.hidden) {
|
|
display: flex;
|
|
}
|
|
|
|
#join-form input {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
border: 2px solid #0f0;
|
|
background-color: #111;
|
|
color: #0f0;
|
|
font-size: 16px;
|
|
box-shadow: 0 0 5px #0f0 inset;
|
|
width: 200px;
|
|
}
|
|
|
|
#join-form button {
|
|
background-color: #0f0;
|
|
color: #000;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.error-message {
|
|
color: red;
|
|
margin-top: 10px;
|
|
font-weight: bold;
|
|
text-shadow: 0 0 3px red;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
} |