More comments added to league-page.css
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
width: 100%; /* Set the width to the full width of screen */
|
||||
padding: 30px; /* Create some distance between page boundries and elements */
|
||||
|
||||
/* --- FORMAT CHILD ITEMS --- */
|
||||
/* --- FORMAT CHILD ITEMS (Table and Leading Scorers Cards) --- */
|
||||
display: flex; /* Enable flexbox layout */
|
||||
flex-direction: column; /* Arrange child elements vertically */
|
||||
}
|
||||
@@ -38,7 +38,7 @@
|
||||
transform: skewX(-20deg); /* Skew the banner to create a triangular side */
|
||||
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
|
||||
|
||||
/* --- FORMAT CHILD ITEMS --- */
|
||||
/* --- FORMAT CHILD ITEMS (logo, league name, flag) --- */
|
||||
display: flex; /* Enable flexbox layout */
|
||||
flex-direction: row; /* Arrange child elements horizontally */
|
||||
}
|
||||
@@ -91,29 +91,39 @@
|
||||
*/
|
||||
|
||||
/* Styling for Standings and Top Scorers Cards */
|
||||
#table-stats-container, #top-scorers-stats-container {
|
||||
#table-stats-container, #top-scorers-stats-container
|
||||
{
|
||||
/* --- POSITION CONTAINER --- */
|
||||
margin: 0 10px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
/* --- SIZE CONTAINER --- */
|
||||
padding: 15px;
|
||||
|
||||
/* --- STYLE CONTAINER --- */
|
||||
background-color: #ffffff; /* Example background color */
|
||||
|
||||
border: 1px solid gray;
|
||||
border-radius: 8px;
|
||||
|
||||
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
|
||||
/* Add any other styling you need for the league table container */
|
||||
}
|
||||
|
||||
#table-stats-container:hover, #top-scorers-stats-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);
|
||||
}
|
||||
|
||||
@media (max-width: 950px) {
|
||||
#league-stats-containers {
|
||||
flex-direction: column; /* Change flex direction to column */
|
||||
/* Hover Styling for Standings and Top Scorers Cards */
|
||||
#table-stats-container:hover, #top-scorers-stats-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);
|
||||
}
|
||||
|
||||
/*
|
||||
==============================================================
|
||||
DYNAMIC PAGE WIDTH STYLES
|
||||
==============================================================
|
||||
*/
|
||||
|
||||
/* Width of Screen is Less Than 950px */
|
||||
@media (max-width: 950px)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user