league-table.css commented out

This commit is contained in:
Lucas Patenaude
2024-04-15 01:27:04 -06:00
parent 33d9cbefce
commit 02cb46d90d
2 changed files with 26 additions and 12 deletions

View File

@@ -112,6 +112,12 @@
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5); box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
} }
/*
==============================================================
HOVER STYLES
==============================================================
*/
/* Hover Styling for Standings and Top Scorers Cards */ /* Hover Styling for Standings and Top Scorers Cards */
#table-stats-container:hover, #top-scorers-stats-container:hover #table-stats-container:hover, #top-scorers-stats-container:hover
{ {

View File

@@ -37,13 +37,21 @@
/* Table Header Styling */ /* Table Header Styling */
th th
{ {
background-color: white;
border-bottom: 3px solid red; /* Add red bottom border */ border-bottom: 3px solid red; /* Add red bottom border */
} }
/* Data in Row Style */
td td
{ {
padding: 5px; padding: 5px;
} }
/* Every Odd Row in Table Style */
tr:nth-child(odd)
{
background-color: #f7c4c475; /* Light gray for odd rows */
}
} }
/* /*
@@ -52,7 +60,7 @@
=========================== ===========================
*/ */
/* Set the width for the column containing the club logo */ /* Club Logo Column in Table Style */
#club-logo-column { #club-logo-column {
width: 25px; width: 25px;
@@ -66,39 +74,38 @@
} }
/* Style the club name column */ /* Club Name Column in Table Style */
#club-name-column #club-name-column
{ {
cursor: pointer; cursor: pointer;
} }
/* Points Column in Table Style */
#points-column #points-column
{ {
font-weight: bolder; font-weight: bolder;
} }
/* Define styles for odd and even rows */ /*
#standings-table tbody tr:nth-child(odd) ==============================================================
{ HOVER STYLES
background-color: #f7c4c475; /* Light gray for odd rows */ ==============================================================
} */
#standings-table tbody tr:nth-child(even)
{
background-color: #ffffff; /* White for even rows */
}
/* Add hover effect to table rows */ /* Add hover effect to table rows */
#standings-table tbody tr:hover #standings-table tbody tr:hover
{ {
/* Create border around row on hover */
border: 1px solid lightgray; border: 1px solid lightgray;
border-radius: 10px; border-radius: 10px;
/* Make club logo larger on hover */
#table-club-logo #table-club-logo
{ {
width: 32px; width: 32px;
} }
/* Undeline club name on hover */
#club-name-column #club-name-column
{ {
text-decoration: underline; /* Add underline effect */ text-decoration: underline; /* Add underline effect */
@@ -111,6 +118,7 @@
============================================================== ==============================================================
*/ */
/* Stlye for Screens Smaller than 1230px */
@media (max-width: 1230px) @media (max-width: 1230px)
{ {
#league-table-container #league-table-container