More CSS clean-up to remove redundant styling and streamline elements
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
=============================================
|
||||
*/
|
||||
|
||||
/* Styling for Standings and Top Scorers Cards */
|
||||
/* Styling for All Card Containers on Generated Pages */
|
||||
.card-container
|
||||
{
|
||||
/* --- POSITION CONTAINER --- */
|
||||
@@ -105,15 +105,61 @@
|
||||
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* Styling for All Tables on Generated Pages */
|
||||
table
|
||||
{
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
|
||||
/* Table Header Styling */
|
||||
th
|
||||
{
|
||||
border-bottom: 3px solid red; /* Add red bottom border */
|
||||
}
|
||||
|
||||
/* Data in Row Style */
|
||||
td
|
||||
{
|
||||
padding: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Styling for All Tables Designated to Alternate on Generated Pages */
|
||||
.alternating-table tbody tr:nth-child(odd)
|
||||
{
|
||||
/* Every Odd Row in Table Style */
|
||||
background-color: #d2d2d2; /* Light gray for odd rows */
|
||||
}
|
||||
|
||||
/*
|
||||
==============================================================
|
||||
HOVER STYLES
|
||||
==============================================================
|
||||
*/
|
||||
|
||||
/* Hover Styling for Standings and Top Scorers Cards */
|
||||
/* Hover Styling for All Card Containers on Generated Pages */
|
||||
.card-container:hover
|
||||
{
|
||||
transform: scale(1.01); /* Scale the row by 1.1 on hover */
|
||||
box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
/* Hover Styling for All Tables Designated to Alternate on Generated Pages */
|
||||
.alternating-table tbody tr:hover
|
||||
{
|
||||
/* Create border around row on hover */
|
||||
border: 1px solid lightgray;
|
||||
border-radius: 10px;
|
||||
|
||||
/* Make club logo larger on hover */
|
||||
#league-table-club-logo
|
||||
{
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
/* Undeline club name on hover */
|
||||
#league-table-club-name-column
|
||||
{
|
||||
text-decoration: underline; /* Add underline effect */
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user