diff --git a/Sudoku.php b/Sudoku.php index ff576cf..034b634 100644 --- a/Sudoku.php +++ b/Sudoku.php @@ -156,7 +156,7 @@ if (!isset($_SESSION['username'])) { #timer-label { font-size: 20px; font-weight: bold; - color: #333; + color: darkslategray; font-family: monospace; margin-top: 2px; } @@ -314,7 +314,7 @@ if (!isset($_SESSION['username'])) { .modal-title { font-size: 24px; font-weight: bold; - color: #333; + color: darkslategray; margin-bottom: 10px; } @@ -329,7 +329,7 @@ if (!isset($_SESSION['username'])) { display: flex; justify-content: space-around; margin-bottom: 25px; - background-color: #f0f8ff; + background-color: aliceblue; padding: 10px; border-radius: 10px; } @@ -361,8 +361,8 @@ if (!isset($_SESSION['username'])) { border: 2px solid var(--primary-color); } .btn-grey-modal { - background-color: #e0e0e0; - color: #555; + background-color: gainsboro; + color: dimgray; } @keyframes popIn { @@ -370,6 +370,55 @@ if (!isset($_SESSION['username'])) { to { transform: scale(1); opacity: 1; } } + /* ... existing styles ... */ + .game-layout { + display: flex; + gap: 40px; + align-items: flex-start; + } + + .game-main { + display: flex; + flex-direction: column; + align-items: center; + } + + .game-sidebar { + width: 250px; + background: rgba(255, 255, 255, 0.9); + border-radius: 12px; + padding: 15px; + box-shadow: 0 4px 15px rgba(0,0,0,0.2); + display: flex; + flex-direction: column; + } + + .mini-leaderboard-title { + text-align: center; + font-weight: bold; + margin-bottom: 10px; + color: darkslategray; + border-bottom: 2px solid lightgray; + padding-bottom: 5px; + } + + .mini-table { + width: 100%; + border-collapse: collapse; + font-size: 12px; + } + .mini-table th, .mini-table td { + padding: 5px; + text-align: left; + border-bottom: 1px solid whitesmoke; + } + .mini-table th { color: gray; font-weight: bold; } + .mini-table tr:last-child td { border-bottom: none; } + + .rank-1 { color: gold; font-weight: bold; } + .rank-2 { color: silver; font-weight: bold; } + .rank-3 { color: chocolate; font-weight: bold; } + @@ -395,38 +444,61 @@ if (!isset($_SESSION['username'])) {