2024-04-14 23:35:54 -06:00
|
|
|
/*
|
|
|
|
|
=================================
|
2024-04-15 01:15:44 -06:00
|
|
|
TABLE ADN HEADER CONTAINER
|
2024-04-14 23:35:54 -06:00
|
|
|
=================================
|
|
|
|
|
*/
|
|
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
/* Container for table and header */
|
|
|
|
|
#league-table-container
|
|
|
|
|
{
|
2024-04-14 17:00:20 -06:00
|
|
|
width: 60%;
|
2024-04-14 13:51:27 -06:00
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2024-04-14 16:46:48 -06:00
|
|
|
|
2024-04-14 21:55:37 -06:00
|
|
|
margin-right: 20px;
|
|
|
|
|
|
2024-04-14 16:46:48 -06:00
|
|
|
transition: transform 0.3s ease; /* Add smooth transition effect */
|
2024-04-13 18:26:14 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
/*
|
|
|
|
|
=================================
|
|
|
|
|
TABLE CONTAINER
|
|
|
|
|
=================================
|
|
|
|
|
*/
|
2024-04-14 21:52:31 -06:00
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
/* Container for Table */
|
|
|
|
|
#table-stats-container
|
|
|
|
|
{
|
|
|
|
|
width: 100%;
|
2024-04-14 18:46:32 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-14 23:37:22 -06:00
|
|
|
/* Table that holds all the standing information */
|
2024-04-15 01:15:44 -06:00
|
|
|
#standings-table
|
|
|
|
|
{
|
2024-04-14 21:52:31 -06:00
|
|
|
width: 100%;
|
|
|
|
|
padding: 15px;
|
2024-04-15 01:15:44 -06:00
|
|
|
|
|
|
|
|
/* Table Header Styling */
|
|
|
|
|
th
|
|
|
|
|
{
|
|
|
|
|
border-bottom: 3px solid red; /* Add red bottom border */
|
|
|
|
|
}
|
2024-04-14 21:52:31 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-14 23:37:22 -06:00
|
|
|
/* Set the width for the column containing the club logo */
|
2024-04-14 21:52:31 -06:00
|
|
|
#club-logo-column {
|
2024-04-14 17:37:28 -06:00
|
|
|
width: 25px;
|
2024-04-14 16:46:48 -06:00
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
/* Club Logo Style */
|
|
|
|
|
#table-club-logo
|
|
|
|
|
{
|
|
|
|
|
width: 25px;
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2024-04-14 15:47:07 -06:00
|
|
|
|
2024-04-14 13:51:27 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
/* Style the club name column */
|
|
|
|
|
#club-name-column
|
|
|
|
|
{
|
2024-04-14 13:51:27 -06:00
|
|
|
cursor: pointer;
|
2024-04-13 18:26:14 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
#points-column
|
|
|
|
|
{
|
|
|
|
|
font-weight: bolder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Style each piece of data in a row */
|
|
|
|
|
#standings-table td
|
|
|
|
|
{
|
2024-04-13 18:26:14 -06:00
|
|
|
padding: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Define styles for odd and even rows */
|
2024-04-15 01:15:44 -06:00
|
|
|
#standings-table tbody tr:nth-child(odd)
|
|
|
|
|
{
|
2024-04-14 18:46:32 -06:00
|
|
|
background-color: #f7c4c475; /* Light gray for odd rows */
|
2024-04-13 18:26:14 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
#standings-table tbody tr:nth-child(even)
|
|
|
|
|
{
|
2024-04-13 18:26:14 -06:00
|
|
|
background-color: #ffffff; /* White for even rows */
|
2024-04-14 16:46:48 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Add hover effect to table rows */
|
2024-04-15 01:15:44 -06:00
|
|
|
#standings-table tbody tr:hover
|
|
|
|
|
{
|
2024-04-14 16:46:48 -06:00
|
|
|
border: 1px solid lightgray;
|
|
|
|
|
border-radius: 10px;
|
2024-04-14 18:39:00 -06:00
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
#table-club-logo
|
|
|
|
|
{
|
2024-04-14 22:51:33 -06:00
|
|
|
width: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
#club-name-column
|
|
|
|
|
{
|
2024-04-14 18:39:00 -06:00
|
|
|
text-decoration: underline; /* Add underline effect */
|
|
|
|
|
}
|
2024-04-14 16:46:48 -06:00
|
|
|
}
|
2024-04-14 19:32:46 -06:00
|
|
|
|
2024-04-15 01:15:44 -06:00
|
|
|
/*
|
|
|
|
|
==============================================================
|
|
|
|
|
DYNAMIC PAGE WIDTH STYLES
|
|
|
|
|
==============================================================
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1230px)
|
|
|
|
|
{
|
|
|
|
|
#league-table-container
|
|
|
|
|
{
|
2024-04-14 21:52:31 -06:00
|
|
|
align-items: center;
|
|
|
|
|
width: 75%;
|
2024-04-14 23:35:54 -06:00
|
|
|
min-width: 580px;
|
2024-04-14 21:52:31 -06:00
|
|
|
}
|
2024-04-14 19:32:46 -06:00
|
|
|
}
|