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-15 02:09:31 -06:00
|
|
|
margin-right: 30px;
|
2024-04-14 21:55:37 -06:00
|
|
|
|
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 */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-stats-container
|
2024-04-15 01:15:44 -06:00
|
|
|
{
|
|
|
|
|
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 17:05:19 -06:00
|
|
|
#league-standings-table
|
2024-04-15 01:15:44 -06:00
|
|
|
{
|
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-15 01:18:28 -06:00
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Data in Row Style */
|
2024-04-15 01:18:28 -06:00
|
|
|
td
|
|
|
|
|
{
|
2024-04-15 16:02:19 -06:00
|
|
|
padding: 5px;
|
2024-04-15 01:18:28 -06:00
|
|
|
}
|
2024-04-15 01:27:04 -06:00
|
|
|
|
|
|
|
|
/* Every Odd Row in Table Style */
|
2024-04-15 02:09:31 -06:00
|
|
|
tbody tr:nth-child(odd)
|
2024-04-15 01:27:04 -06:00
|
|
|
{
|
2024-04-15 02:09:31 -06:00
|
|
|
background-color: #d2d2d2; /* Light gray for odd rows */
|
2024-04-15 01:27:04 -06:00
|
|
|
}
|
2024-04-14 21:52:31 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:18:28 -06:00
|
|
|
/*
|
|
|
|
|
===========================
|
|
|
|
|
TABLE COLUMNS STYLE
|
|
|
|
|
===========================
|
|
|
|
|
*/
|
2024-04-14 16:46:48 -06:00
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Club Logo Column in Table Style */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-club-logo-column {
|
2024-04-15 01:18:28 -06:00
|
|
|
width: 25px;
|
2024-04-14 15:47:07 -06:00
|
|
|
|
2024-04-15 01:18:28 -06:00
|
|
|
/* Club Logo Style */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-club-logo
|
2024-04-15 01:18:28 -06:00
|
|
|
{
|
|
|
|
|
width: 25px;
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2024-04-14 13:51:27 -06:00
|
|
|
|
2024-04-15 01:18:28 -06:00
|
|
|
}
|
2024-04-13 18:26:14 -06:00
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Club Name Column in Table Style */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-club-name-column
|
2024-04-15 01:18:28 -06:00
|
|
|
{
|
2024-04-15 02:09:31 -06:00
|
|
|
font-weight: 500;
|
2024-04-15 01:18:28 -06:00
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2024-04-15 01:15:44 -06:00
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Points Column in Table Style */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-points-column
|
2024-04-15 01:18:28 -06:00
|
|
|
{
|
|
|
|
|
font-weight: bolder;
|
|
|
|
|
}
|
2024-04-13 18:26:14 -06:00
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/*
|
|
|
|
|
==============================================================
|
|
|
|
|
HOVER STYLES
|
|
|
|
|
==============================================================
|
|
|
|
|
*/
|
2024-04-14 16:46:48 -06:00
|
|
|
|
|
|
|
|
/* Add hover effect to table rows */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-standings-table tbody tr:hover
|
2024-04-15 01:15:44 -06:00
|
|
|
{
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Create border around row on 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:27:04 -06:00
|
|
|
/* Make club logo larger on hover */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-club-logo
|
2024-04-15 01:15:44 -06:00
|
|
|
{
|
2024-04-14 22:51:33 -06:00
|
|
|
width: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Undeline club name on hover */
|
2024-04-15 17:05:19 -06:00
|
|
|
#league-table-club-name-column
|
2024-04-15 01:15:44 -06:00
|
|
|
{
|
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
|
|
|
|
|
==============================================================
|
|
|
|
|
*/
|
|
|
|
|
|
2024-04-15 01:27:04 -06:00
|
|
|
/* Stlye for Screens Smaller than 1230px */
|
2024-04-15 01:15:44 -06:00
|
|
|
@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
|
|
|
}
|