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

48 lines
1.2 KiB
CSS
Raw Normal View History

2024-04-11 06:07:35 -06:00
#league-page-body {
display: flex;
flex-direction: column;
height: 100vh;
}
#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 */
cursor: pointer; /* Change cursor to pointer on hover */
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
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 */
margin-right: 200px;
2024-04-13 17:11:28 -06:00
}
2024-04-11 06:07:35 -06:00
#league-stats-container {
display: flex;
flex: 1;
}