From 33d9cbefceda8bc1f697573260c2f6e8038659ca Mon Sep 17 00:00:00 2001 From: Lucas Patenaude Date: Mon, 15 Apr 2024 01:18:28 -0600 Subject: [PATCH] More CSS clean-up to league-table.css. Comments added for more clarity --- .../css/league-pages/league-table.css | 57 ++++++++++--------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/ProjectSourceCode/src/resources/css/league-pages/league-table.css b/ProjectSourceCode/src/resources/css/league-pages/league-table.css index f51e27f..9539689 100644 --- a/ProjectSourceCode/src/resources/css/league-pages/league-table.css +++ b/ProjectSourceCode/src/resources/css/league-pages/league-table.css @@ -39,38 +39,43 @@ { border-bottom: 3px solid red; /* Add red bottom border */ } + + td + { + padding: 5px; + } } -/* Set the width for the column containing the club logo */ -#club-logo-column { - width: 25px; + /* + =========================== + TABLE COLUMNS STYLE + =========================== + */ - /* Club Logo Style */ - #table-club-logo - { - width: 25px; - margin-right: 5px; + /* Set the width for the column containing the club logo */ + #club-logo-column { + width: 25px; + + /* Club Logo Style */ + #table-club-logo + { + width: 25px; + margin-right: 5px; + cursor: pointer; + } + + } + + /* Style the club name column */ + #club-name-column + { cursor: pointer; } -} - -/* Style the club name column */ -#club-name-column -{ - cursor: pointer; -} - -#points-column -{ - font-weight: bolder; -} - -/* Style each piece of data in a row */ -#standings-table td -{ - padding: 5px; -} + #points-column + { + font-weight: bolder; + } /* Define styles for odd and even rows */ #standings-table tbody tr:nth-child(odd)