From 87205e3dfe908a284a01787e6fb567912791c8fb Mon Sep 17 00:00:00 2001 From: Naman0504 Date: Mon, 27 Oct 2025 23:44:24 +0530 Subject: [PATCH] add distinct color to top 3 scorer --- style.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 18d043d..c11ed2b 100644 --- a/style.css +++ b/style.css @@ -255,10 +255,26 @@ main { border-bottom: 1.5px solid #2a2a50; } -#leaderboard tr:nth-child(even) { +/* #leaderboard tr:nth-child(even) { background: #191838; +} */ + +#leaderboard tr:nth-child(2) { + background-color: #e3c212; + font-weight: bold; +} + +#leaderboard tr:nth-child(3) { + background-color: silver; + font-weight: bold; +} + +#leaderboard tr:nth-child(4) { + background-color: #cd7f32; + font-weight: bold; } + #leaderboard tr.me { background: var(--accent2); color: #fff; @@ -292,4 +308,6 @@ footer { max-width: 95vw; max-height: 89vw; } -} \ No newline at end of file +} + +