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

69 lines
1.2 KiB
CSS
Raw Normal View History

2024-04-14 16:46:48 -06:00
#league-table-and-information-container {
width: 60%;
justify-content: center;
align-items: center;
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
}
#standings-table {
width: 100%;
2024-04-14 15:47:07 -06:00
padding: 15px;
2024-04-13 18:26:14 -06:00
}
#table-stats-container {
width: 100%;
}
2024-04-14 18:46:32 -06:00
#table-stats-container th {
border-bottom: 3px solid red; /* Add red bottom border */
}
2024-04-14 16:46:48 -06:00
#club-logo-row {
width: 25px;
2024-04-14 16:46:48 -06:00
}
2024-04-14 15:47:07 -06:00
#table-club-logo {
width: 25px;
2024-04-13 18:26:14 -06:00
margin-right: 5px;
cursor: pointer;
2024-04-14 15:47:07 -06:00
}
#club-name {
cursor: pointer;
2024-04-13 18:26:14 -06:00
}
#standings-table td {
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) {
background-color: #ffffff; /* White for even rows */
2024-04-14 16:46:48 -06:00
}
2024-04-14 17:30:20 -06:00
#points-column {
font-weight: bolder;
}
2024-04-14 16:46:48 -06:00
/* Add hover effect to table rows */
#standings-table tbody tr:hover {
border: 1px solid lightgray;
border-radius: 10px;
#club-name {
text-decoration: underline; /* Add underline effect */
}
2024-04-14 16:46:48 -06:00
}
@media (max-width: 950px) {
#league-table-and-information-container {
width: 100%; /* Set the width to 60% when window width is less than 1161px */
}
}