Files
ScoreSpot/ProjectSourceCode/src/resources/css/league-pages/league-table.css

117 lines
2.0 KiB
CSS
Raw Normal View History

2024-04-14 23:35:54 -06:00
/*
=================================
TABLE ADN HEADER CONTAINER
2024-04-14 23:35:54 -06:00
=================================
*/
/* Container for table and header */
#league-table-container
{
width: 60%;
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
}
/*
=================================
TABLE CONTAINER
=================================
*/
2024-04-14 21:52:31 -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 */
#standings-table
{
2024-04-14 21:52:31 -06:00
width: 100%;
padding: 15px;
/* 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 {
width: 25px;
2024-04-14 16:46:48 -06:00
/* Club Logo Style */
#table-club-logo
{
width: 25px;
margin-right: 5px;
cursor: pointer;
}
2024-04-14 15:47:07 -06:00
}
/* Style the club name column */
#club-name-column
{
cursor: pointer;
2024-04-13 18:26:14 -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 */
#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
}
#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 */
#standings-table tbody tr:hover
{
2024-04-14 16:46:48 -06:00
border: 1px solid lightgray;
border-radius: 10px;
#table-club-logo
{
width: 32px;
}
#club-name-column
{
text-decoration: underline; /* Add underline effect */
}
2024-04-14 16:46:48 -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
}
}