2024-04-11 06:07:35 -06:00
|
|
|
#league-page-body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-04-14 16:46:48 -06:00
|
|
|
width: 100v;
|
2024-04-11 06:07:35 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#league-information-container {
|
|
|
|
|
height: 100px;
|
2024-04-13 17:39:57 -06:00
|
|
|
width: fit-content;
|
2024-04-13 17:11:28 -06:00
|
|
|
margin: 20px;
|
|
|
|
|
background: linear-gradient(to right, white, rgb(245, 245, 245), rgb(227, 227, 227)); /* Gradient from white to gray */
|
2024-04-13 17:39:57 -06:00
|
|
|
padding: 10px 20px; /* Adjust padding as needed */
|
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
|
|
|
|
|
|
|
|
display: flex; /* Use flexbox for layout */
|
|
|
|
|
align-items: center; /* Center content vertically */
|
|
|
|
|
|
2024-04-11 06:07:35 -06:00
|
|
|
/* Add any other styling you need for the league information container */
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-13 17:39:57 -06:00
|
|
|
#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
|
|
|
#league-logo {
|
2024-04-13 17:39:57 -06:00
|
|
|
margin: 0px 30px;
|
2024-04-13 17:11:28 -06:00
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
height: 80%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#league-title {
|
|
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
2024-04-13 18:45:55 -06:00
|
|
|
margin-right: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#league-flag {
|
|
|
|
|
|
|
|
|
|
transform: skewX(20deg); /* Skew the banner to create a triangular side */
|
|
|
|
|
height: 20px;
|
2024-04-13 17:39:57 -06:00
|
|
|
margin-right: 200px;
|
2024-04-13 17:11:28 -06:00
|
|
|
}
|
|
|
|
|
|
2024-04-14 17:00:20 -06:00
|
|
|
#league-stats-containers {
|
2024-04-13 18:40:46 -06:00
|
|
|
width: 100%;
|
2024-04-11 06:07:35 -06:00
|
|
|
display: flex;
|
2024-04-14 17:30:20 -06:00
|
|
|
flex-wrap: wrap; /* Allow items to wrap onto multiple lines */
|
2024-04-11 06:07:35 -06:00
|
|
|
}
|
2024-04-13 19:48:25 -06:00
|
|
|
|
2024-04-14 16:46:48 -06:00
|
|
|
#table-stats-container, #top-scorers-stats-container {
|
2024-04-13 19:48:25 -06:00
|
|
|
margin: 0 10px;
|
2024-04-14 15:47:07 -06:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
padding: 15px;
|
2024-04-13 19:48:25 -06:00
|
|
|
|
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-13 19:48:25 -06:00
|
|
|
/* Add any other styling you need for the league table container */
|
|
|
|
|
}
|
2024-04-14 16:46:48 -06:00
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
@media (max-width: 1161px) {
|
|
|
|
|
#league-stats-container {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#league-table-and-information-container,
|
|
|
|
|
#top-scorers-container {
|
|
|
|
|
width: 100%; /* Both containers take full width */
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|