From 4f2f7ae38e73634b6fea52d45f4c049a68038486 Mon Sep 17 00:00:00 2001 From: aldo Date: Mon, 15 Dec 2025 23:43:48 +0700 Subject: [PATCH] perbaikan --- Sudoku.php | 190 +++++++++++++++++++++++++++++++++++++++--------- leaderboard.php | 92 ++++++++++++----------- login.php | 12 +-- register.php | 18 ++--- 4 files changed, 214 insertions(+), 98 deletions(-) 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'])) {
-
- - -
-
MEDIUM
-
00:00
+
+ +
+
+ + +
+
MEDIUM
+
00:00
+
+ +
Salah: 0/3
+
+ +
+ +
+
+
+ +
+
19
+
29
+
39
+
49
+
59
+
69
+
79
+
89
+
99
+
+ +
+
🗑 HAPUS
+
💡 BANTUAN (3)
+
-
Salah: 0/3
-
- -
- -
-
-
- -
-
19
-
29
-
39
-
49
-
59
-
69
-
79
-
89
-
99
-
- -
-
🗑 HAPUS
-
💡 BANTUAN (3)
+ +
+
🏆 Top Easy
+ + + + + + + + + + + + +
#PlayerTime
Loading...
+