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

63 lines
1.6 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;
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; /* Adjust padding as needed */
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 */
}
2024-04-13 17:11:28 -06:00
#league-logo {
margin: 0px 10px;
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-11 06:07:35 -06:00
#league-stats-container {
display: flex;
flex: 1;
}
#league-table-container {
flex: 1;
background-color: #eaeaea; /* Example background color */
/* Add any other styling you need for the league table container */
}
2024-04-13 17:11:28 -06:00
#table-logo {
width: 20px;
margin: 0;
}
/* Define styles for odd and even rows */
#standings-table tbody tr:nth-child(odd) {
background-color: #f2f2f2; /* Light gray for odd rows */
2024-04-13 17:11:28 -06:00
}
#standings-table tbody tr:nth-child(even) {
background-color: #ffffff; /* White for even rows */
2024-04-13 17:11:28 -06:00
}
2024-04-11 06:07:35 -06:00
#top-scorers-container {
flex: 1;
background-color: #dcdcdc; /* Example background color */
/* Add any other styling you need for the top scorers container */
}