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

81 lines
2.1 KiB
CSS
Raw Normal View History

2024-04-11 06:07:35 -06:00
#league-page-body {
display: flex;
flex-direction: column;
width: 100vh;
2024-04-11 06:07:35 -06:00
}
#league-information-container {
height: 100px;
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 */
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 */
}
#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 {
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;
margin-right: 200px;
2024-04-13 17:11:28 -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: 950px) {
#league-stats-containers {
flex-direction: column; /* Change flex direction to column */
2024-04-14 17:30:20 -06:00
}
}
2024-04-14 17:30:20 -06:00