From 6f9f5eecff54fdbbb23e35c7937f1df1e62c4d37 Mon Sep 17 00:00:00 2001 From: Voxel Date: Mon, 14 Apr 2025 17:38:06 -0400 Subject: [PATCH] Update style.css --- assets/games/casino/style.css | 177 ++++++++++++---------------------- 1 file changed, 59 insertions(+), 118 deletions(-) diff --git a/assets/games/casino/style.css b/assets/games/casino/style.css index 968d99d..91bcfbd 100644 --- a/assets/games/casino/style.css +++ b/assets/games/casino/style.css @@ -1,147 +1,88 @@ /* 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; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + margin: 0; + padding: 0; + background: linear-gradient(to right, #000000, #1e3c72); /* Black to blue gradient */ + color: #fff; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + flex-direction: column; } -/* 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; +header { + text-align: center; + margin-bottom: 30px; } h1 { - font-size: 2.5rem; - margin-bottom: 20px; + font-size: 3em; + margin: 0; } -h2 { - font-size: 2rem; - margin-bottom: 10px; +p { + font-size: 1.2em; } -h3 { - font-size: 1.5rem; - margin: 20px 0; +/* Game selection buttons */ +.game-selection { + display: flex; + justify-content: center; + gap: 20px; + margin-bottom: 40px; } -/* 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; + padding: 10px 20px; + font-size: 1.2em; + cursor: pointer; + background-color: #1e3c72; + color: white; + border: 2px solid #fff; + border-radius: 8px; + transition: background-color 0.3s, transform 0.3s; } button:hover { - background-color: #0077cc; + background-color: #154c79; + transform: scale(1.05); } -/* 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; +button:active { + background-color: #0d3a56; } -/* Main menu styling */ -#main-menu { - text-align: center; +/* Game container styles */ +.game { + display: none; + text-align: center; + margin-top: 20px; } -#xp-bar { - width: 100%; - height: 20px; - background-color: #333; - border-radius: 10px; - margin: 10px 0; +.game h2 { + font-size: 2em; + margin-bottom: 20px; } -#xp-progress { - height: 100%; - background-color: #00aaff; - border-radius: 10px; - width: 0; - transition: width 0.5s; +.game p { + font-size: 1.2em; + margin-bottom: 20px; } -/* 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 { +footer { + position: absolute; + bottom: 20px; + font-size: 1em; + color: #ddd; + text-align: center; width: 100%; - max-width: none; - } - - h1, h2, h3 { - font-size: 1.5rem; - } - - button { - font-size: 0.9rem; - padding: 8px 16px; - } +} + +/* Game results */ +#race-result, #blackjack-result, #slots-result, #coin-flip-result { + font-size: 1.5em; + margin-top: 20px; + font-weight: bold; }