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,66 @@
#club-page-body {
display: flex;
flex-direction: column;
width: 100%;
}
#club-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 club information container */
}
#club-information-container::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 8px; /* Width of the red strip */
background-color: red; /* Red color */
}
#club-logo {
margin: 0px 30px;
transform: skewX(20deg); /* Skew the banner to create a triangular side */
}
#club-title {
transform: skewX(20deg); /* Skew the banner to create a triangular side */
margin-right: 20px;
}
#club-flag {
transform: skewX(20deg); /* Skew the banner to create a triangular side */
height: 20px;
margin-right: 200px;
}
#club-stats-container {
width: 100%;
display: flex;
flex: 1;
}
#club-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 club table container */
}

View File

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

View File

@@ -13,6 +13,7 @@
width: 20px;
margin-right: 5px;
cursor: pointer;
transform: skewX(0deg); /* Skew the banner to create a triangular side */
}
#club-name {