mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 05:33:40 -05:00
185 lines
2.6 KiB
CSS
185 lines
2.6 KiB
CSS
/* General Styling */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f4f4f9;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: #444;
|
|
}
|
|
|
|
#app {
|
|
width: 80%;
|
|
max-width: 800px;
|
|
margin: auto;
|
|
}
|
|
|
|
/* Screen Handling */
|
|
.screen {
|
|
display: none;
|
|
}
|
|
|
|
.active {
|
|
display: block;
|
|
}
|
|
|
|
button {
|
|
background-color: #007BFF;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
margin: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
input[type="number"],
|
|
input[type="text"],
|
|
select {
|
|
padding: 8px;
|
|
font-size: 16px;
|
|
margin: 5px 0;
|
|
width: 100%;
|
|
border-radius: 5px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
input[type="number"]:focus,
|
|
input[type="text"]:focus,
|
|
select:focus {
|
|
outline: none;
|
|
border-color: #007BFF;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
text-align: center;
|
|
}
|
|
|
|
/* Game Screens */
|
|
#username-setup, #main-menu, #blackjack, #slots, #roulette, #crash, #stats {
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
#xp-bar {
|
|
height: 25px;
|
|
background-color: #f3f3f3;
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#xp-progress {
|
|
height: 100%;
|
|
background-color: #4CAF50;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
/* Slots Game */
|
|
#slots-reels {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.reel {
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: #ddd;
|
|
text-align: center;
|
|
font-size: 24px;
|
|
line-height: 50px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#slots-message {
|
|
font-size: 18px;
|
|
margin-top: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Roulette Game */
|
|
#roulette-animation {
|
|
width: 100%;
|
|
height: 200px;
|
|
background: #ccc;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#roulette-result {
|
|
font-size: 18px;
|
|
color: #333;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Crash Game */
|
|
#crash-animation {
|
|
width: 100%;
|
|
height: 30px;
|
|
background-color: #ccc;
|
|
margin-bottom: 20px;
|
|
transition: transform 1s ease-out;
|
|
}
|
|
|
|
/* Stats Screen */
|
|
#stats p {
|
|
font-size: 16px;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
/* Import/Export Progress Buttons */
|
|
#import-file,
|
|
#export-progress {
|
|
margin-top: 10px;
|
|
padding: 8px;
|
|
font-size: 16px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#import-file:focus,
|
|
#export-progress:focus {
|
|
outline: none;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.screen {
|
|
padding: 15px;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#xp-bar {
|
|
height: 15px;
|
|
}
|
|
|
|
#xp-progress {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|