mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 05:33:40 -05:00
147 lines
2.2 KiB
CSS
147 lines
2.2 KiB
CSS
/* Apply global styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Body styling */
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(to right, #000000, #00aaff); /* Black to Blue gradient */
|
|
color: white;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Styling for the app container */
|
|
#app {
|
|
width: 80%;
|
|
max-width: 900px;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* General screen styling */
|
|
.screen {
|
|
display: none;
|
|
}
|
|
|
|
.screen.active {
|
|
display: block;
|
|
}
|
|
|
|
/* Heading styles */
|
|
h1, h2, h3 {
|
|
color: #ffffff;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5rem;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
/* Button styles */
|
|
button {
|
|
background-color: #00aaff;
|
|
color: white;
|
|
font-size: 1rem;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
margin: 10px 0;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0077cc;
|
|
}
|
|
|
|
/* Input styles */
|
|
input[type="text"],
|
|
input[type="number"],
|
|
input[type="file"],
|
|
select {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin: 10px 0;
|
|
border-radius: 5px;
|
|
border: 1px solid #333;
|
|
background-color: #222;
|
|
color: white;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Main menu styling */
|
|
#main-menu {
|
|
text-align: center;
|
|
}
|
|
|
|
#xp-bar {
|
|
width: 100%;
|
|
height: 20px;
|
|
background-color: #333;
|
|
border-radius: 10px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
#xp-progress {
|
|
height: 100%;
|
|
background-color: #00aaff;
|
|
border-radius: 10px;
|
|
width: 0;
|
|
transition: width 0.5s;
|
|
}
|
|
|
|
/* Game screens styling */
|
|
#blackjack, #slots, #roulette, #crash, #horse, #war, #coinflip, #keno, #stats {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Stats screen */
|
|
#stats p {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* Adjustments for mobile */
|
|
@media (max-width: 768px) {
|
|
body {
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
}
|
|
|
|
#app {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
button {
|
|
font-size: 0.9rem;
|
|
padding: 8px 16px;
|
|
}
|
|
}
|