From 8752590f7c1bebb5ff85725b60f9644213a8e569 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Thu, 2 May 2024 14:52:08 +0200 Subject: Use actual data for leaderboard e407f10 and ce74a2c added a basic skelton. This patch refines some of the styling and actually pulls data from the database. --- static/styles/leaderboards.css | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'static') diff --git a/static/styles/leaderboards.css b/static/styles/leaderboards.css index a7db6f8..82d7dda 100644 --- a/static/styles/leaderboards.css +++ b/static/styles/leaderboards.css @@ -1,20 +1,25 @@ -.leaderboard{ - width: 100%; +.leaderboard { + width: 80%; + margin: 0 auto; } -.top_row { +.leaderboard thead { background-color: #6e1818; text-align: left; } -.row { +.leaderboard tr { height: 50px; } -.data { +.leaderboard td { background-color: #1c1c1c; } -.wrapper { +.leaderboard td, .leaderboard th { + padding: 1rem; +} + +.center { text-align: center; -} \ No newline at end of file +} -- cgit v1.2.3