diff --git a/ProjectSourceCode/src/resources/css/club-pages/club-page.css b/ProjectSourceCode/src/resources/css/club-pages/club-page.css new file mode 100644 index 0000000..61433d8 --- /dev/null +++ b/ProjectSourceCode/src/resources/css/club-pages/club-page.css @@ -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 */ +} diff --git a/ProjectSourceCode/src/resources/css/club-pages/club-top-scorers.css b/ProjectSourceCode/src/resources/css/club-pages/club-top-scorers.css new file mode 100644 index 0000000..2d62b21 --- /dev/null +++ b/ProjectSourceCode/src/resources/css/club-pages/club-top-scorers.css @@ -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 */ +} diff --git a/ProjectSourceCode/src/resources/css/club-pages/players-table.css b/ProjectSourceCode/src/resources/css/club-pages/players-table.css new file mode 100644 index 0000000..e69de29 diff --git a/ProjectSourceCode/src/resources/css/league-page/league-page.css b/ProjectSourceCode/src/resources/css/league-pages/league-page.css similarity index 100% rename from ProjectSourceCode/src/resources/css/league-page/league-page.css rename to ProjectSourceCode/src/resources/css/league-pages/league-page.css diff --git a/ProjectSourceCode/src/resources/css/league-page/league-table.css b/ProjectSourceCode/src/resources/css/league-pages/league-table.css similarity index 87% rename from ProjectSourceCode/src/resources/css/league-page/league-table.css rename to ProjectSourceCode/src/resources/css/league-pages/league-table.css index 9e8abcf..0e26192 100644 --- a/ProjectSourceCode/src/resources/css/league-page/league-table.css +++ b/ProjectSourceCode/src/resources/css/league-pages/league-table.css @@ -13,6 +13,7 @@ width: 20px; margin-right: 5px; cursor: pointer; + transform: skewX(0deg); /* Skew the banner to create a triangular side */ } #club-name { diff --git a/ProjectSourceCode/src/resources/css/league-page/top-scorers.css b/ProjectSourceCode/src/resources/css/league-pages/top-scorers.css similarity index 100% rename from ProjectSourceCode/src/resources/css/league-page/top-scorers.css rename to ProjectSourceCode/src/resources/css/league-pages/top-scorers.css diff --git a/ProjectSourceCode/src/views/pages/clubs-page.hbs b/ProjectSourceCode/src/views/pages/clubs-page.hbs index 3a0e1c2..8ac0445 100644 --- a/ProjectSourceCode/src/views/pages/clubs-page.hbs +++ b/ProjectSourceCode/src/views/pages/clubs-page.hbs @@ -1,19 +1,21 @@ -