2024-04-14 19:52:42 -06:00
|
|
|
/*
|
|
|
|
|
==============================================================
|
|
|
|
|
OVERALL PAGE STYLES
|
|
|
|
|
==============================================================
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#league-page-body
|
|
|
|
|
{
|
2024-04-14 19:58:19 -06:00
|
|
|
/* --- SIZE CONTAINER --- */
|
2024-04-14 19:52:42 -06:00
|
|
|
width: 100%; /* Set the width to the full width of screen */
|
|
|
|
|
padding: 30px; /* Create some distance between page boundries and elements */
|
2024-04-14 19:58:19 -06:00
|
|
|
|
2024-04-14 20:07:38 -06:00
|
|
|
/* --- FORMAT CHILD ITEMS (Table and Leading Scorers Cards) --- */
|
2024-04-14 19:58:19 -06:00
|
|
|
display: flex; /* Enable flexbox layout */
|
|
|
|
|
flex-direction: column; /* Arrange child elements vertically */
|
2024-04-11 06:07:35 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/*
|
|
|
|
|
=================================
|
|
|
|
|
LEAGUE INFORMATION HEADER
|
|
|
|
|
=================================
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* Stylization for League Information Header Card */
|
|
|
|
|
#league-information-container
|
|
|
|
|
{
|
2024-04-14 19:58:19 -06:00
|
|
|
/* --- POSITION CONTAINER --- */
|
|
|
|
|
align-items: center; /* Center content vertically */
|
|
|
|
|
margin: 20px;
|
2024-04-14 19:52:42 -06:00
|
|
|
|
2024-04-14 19:58:19 -06:00
|
|
|
/* --- SIZE CONTAINER --- */
|
2024-04-11 06:07:35 -06:00
|
|
|
height: 100px;
|
2024-04-13 17:39:57 -06:00
|
|
|
width: fit-content;
|
|
|
|
|
padding: 10px 20px; /* Adjust padding as needed */
|
2024-04-14 19:58:19 -06:00
|
|
|
|
|
|
|
|
/* --- STYLE CONTAINER --- */
|
|
|
|
|
background: linear-gradient(to right, white, rgb(245, 245, 245), rgb(227, 227, 227)); /* Gradient from white to gray */
|
2024-04-13 17:11:28 -06:00
|
|
|
transform: skewX(-20deg); /* Skew the banner to create a triangular side */
|
2024-04-14 16:46:48 -06:00
|
|
|
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
|
2024-04-13 17:11:28 -06:00
|
|
|
|
2024-04-14 20:07:38 -06:00
|
|
|
/* --- FORMAT CHILD ITEMS (logo, league name, flag) --- */
|
2024-04-14 19:58:19 -06:00
|
|
|
display: flex; /* Enable flexbox layout */
|
|
|
|
|
flex-direction: row; /* Arrange child elements horizontally */
|
2024-04-11 06:07:35 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-14 19:58:19 -06:00
|
|
|
/*
|
|
|
|
|
===========================
|
|
|
|
|
LEAGUE INFORMATION CHILD ITEMS
|
|
|
|
|
===========================
|
|
|
|
|
*/
|
|
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/* Adds Red Diagonal Strip at the end of the #league-information-container */
|
|
|
|
|
#league-information-container::after
|
|
|
|
|
{
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 8px; /* Width of the red strip */
|
|
|
|
|
background-color: red; /* Red color */
|
|
|
|
|
}
|
2024-04-13 17:11:28 -06:00
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/* Styling for League Logo in League Information Header */
|
|
|
|
|
#league-logo
|
|
|
|
|
{
|
|
|
|
|
margin: 0px 30px;
|
|
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
height: 80%;
|
|
|
|
|
}
|
2024-04-13 18:45:55 -06:00
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/* Styling for League Title in League Information Header */
|
|
|
|
|
#league-title
|
|
|
|
|
{
|
|
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
}
|
2024-04-13 18:45:55 -06:00
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/* Styling for FLag in League Information Header */
|
|
|
|
|
#league-flag
|
|
|
|
|
{
|
|
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
height: 20px;
|
|
|
|
|
margin-right: 200px;
|
|
|
|
|
}
|
2024-04-13 17:11:28 -06:00
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/*
|
|
|
|
|
=============================================
|
|
|
|
|
CARDS IN PAGE BODY
|
|
|
|
|
=============================================
|
|
|
|
|
*/
|
2024-04-13 19:48:25 -06:00
|
|
|
|
2024-04-14 19:52:42 -06:00
|
|
|
/* Styling for Standings and Top Scorers Cards */
|
2024-04-14 20:07:38 -06:00
|
|
|
#table-stats-container, #top-scorers-stats-container
|
|
|
|
|
{
|
|
|
|
|
/* --- POSITION CONTAINER --- */
|
2024-04-13 19:48:25 -06:00
|
|
|
margin: 0 10px;
|
2024-04-14 15:47:07 -06:00
|
|
|
margin-bottom: 20px;
|
2024-04-14 20:07:38 -06:00
|
|
|
|
|
|
|
|
/* --- SIZE CONTAINER --- */
|
2024-04-14 15:47:07 -06:00
|
|
|
padding: 15px;
|
2024-04-13 19:48:25 -06:00
|
|
|
|
2024-04-14 20:07:38 -06:00
|
|
|
/* --- STYLE CONTAINER --- */
|
2024-04-14 15:47:07 -06:00
|
|
|
background-color: #ffffff; /* Example background color */
|
2024-04-13 19:48:25 -06:00
|
|
|
border: 1px solid gray;
|
|
|
|
|
border-radius: 8px;
|
2024-04-14 16:46:48 -06:00
|
|
|
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
2024-04-14 17:30:20 -06:00
|
|
|
|
2024-04-14 20:07:38 -06:00
|
|
|
/* 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);
|
2024-04-14 17:30:20 -06:00
|
|
|
}
|
2024-04-14 20:07:38 -06:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
==============================================================
|
|
|
|
|
DYNAMIC PAGE WIDTH STYLES
|
|
|
|
|
==============================================================
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* Width of Screen is Less Than 950px */
|
|
|
|
|
@media (max-width: 950px)
|
|
|
|
|
{
|
|
|
|
|
|
2024-04-14 17:30:20 -06:00
|
|
|
}
|
2024-04-14 19:32:46 -06:00
|
|
|
|
2024-04-14 17:30:20 -06:00
|
|
|
|