New stylesheets added for club pages

This commit is contained in:
Lucas Patenaude
2024-04-14 14:25:56 -06:00
parent a137a3f73d
commit f6f75075e0
8 changed files with 92 additions and 12 deletions

View File

@@ -0,0 +1,67 @@
#league-page-body {
display: flex;
flex-direction: column;
width: 100%;
}
#league-information-container {
height: 100px;
width: fit-content;
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 */
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 */
/* 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 */
}
#league-logo {
margin: 0px 30px;
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: 20px;
}
#league-flag {
transform: skewX(20deg); /* Skew the banner to create a triangular side */
height: 20px;
margin-right: 200px;
}
#league-stats-container {
width: 100%;
display: flex;
flex: 1;
}
#league-stats-container .container {
margin: 0 10px;
background-color: #eaeaea; /* Example background color */
border: 1px solid gray;
border-radius: 8px;
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
/* Add any other styling you need for the league table container */
}

View File

@@ -0,0 +1,34 @@
#league-table-container {
width: 60%;
justify-content: center;
align-items: center;
}
#standings-table {
width: 100%;
padding: 5px;
}
#club-logo {
width: 20px;
margin-right: 5px;
cursor: pointer;
transform: skewX(0deg); /* Skew the banner to create a triangular side */
}
#club-name {
cursor: pointer;
}
#standings-table td {
padding: 5px;
}
/* Define styles for odd and even rows */
#standings-table tbody tr:nth-child(odd) {
background-color: #f2f2f2; /* Light gray for odd rows */
}
#standings-table tbody tr:nth-child(even) {
background-color: #ffffff; /* White for even rows */
}

View File

@@ -0,0 +1,6 @@
#top-scorers-container {
flex: 1;
background-color: #dcdcdc; /* Example background color */
width: 40%;
/* Add any other styling you need for the top scorers container */
}