From 8746bf6e206b17df1af0857ca8527930fac582c4 Mon Sep 17 00:00:00 2001 From: Lucas Patenaude Date: Sat, 13 Apr 2024 18:26:14 -0600 Subject: [PATCH] League page stylesheets added to head --- .../resources/css/league-page/league-page.css | 43 ------------------- .../css/league-page/league-table.css | 35 +++++++++++++++ .../resources/css/league-page/top-scorers.css | 5 +++ ProjectSourceCode/src/views/partials/head.hbs | 2 + 4 files changed, 42 insertions(+), 43 deletions(-) create mode 100644 ProjectSourceCode/src/resources/css/league-page/league-table.css create mode 100644 ProjectSourceCode/src/resources/css/league-page/top-scorers.css diff --git a/ProjectSourceCode/src/resources/css/league-page/league-page.css b/ProjectSourceCode/src/resources/css/league-page/league-page.css index 206702c..e6f8023 100644 --- a/ProjectSourceCode/src/resources/css/league-page/league-page.css +++ b/ProjectSourceCode/src/resources/css/league-page/league-page.css @@ -45,46 +45,3 @@ display: flex; flex: 1; } - -#league-table-container { - - flex: 1; - background-color: #eaeaea; /* Example background color */ - margin: 10px; - - 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 */ -} - -#standings-table { - width: 100%; - padding: 5px; -} - -#table-logo { - width: 20px; - margin-right: 5px; -} - -#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 */ -} - - -#top-scorers-container { - flex: 1; - background-color: #dcdcdc; /* Example background color */ - /* Add any other styling you need for the top scorers container */ -} diff --git a/ProjectSourceCode/src/resources/css/league-page/league-table.css b/ProjectSourceCode/src/resources/css/league-page/league-table.css new file mode 100644 index 0000000..cf769a3 --- /dev/null +++ b/ProjectSourceCode/src/resources/css/league-page/league-table.css @@ -0,0 +1,35 @@ +#league-table-container { + + flex: 1; + background-color: #eaeaea; /* Example background color */ + margin: 10px; + + 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 */ +} + +#standings-table { + width: 100%; + padding: 5px; +} + +#table-logo { + width: 20px; + margin-right: 5px; +} + +#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 */ +} \ No newline at end of file diff --git a/ProjectSourceCode/src/resources/css/league-page/top-scorers.css b/ProjectSourceCode/src/resources/css/league-page/top-scorers.css new file mode 100644 index 0000000..31fb97e --- /dev/null +++ b/ProjectSourceCode/src/resources/css/league-page/top-scorers.css @@ -0,0 +1,5 @@ +#top-scorers-container { + flex: 1; + background-color: #dcdcdc; /* Example background color */ + /* Add any other styling you need for the top scorers container */ +} diff --git a/ProjectSourceCode/src/views/partials/head.hbs b/ProjectSourceCode/src/views/partials/head.hbs index 3c432ff..19b6437 100644 --- a/ProjectSourceCode/src/views/partials/head.hbs +++ b/ProjectSourceCode/src/views/partials/head.hbs @@ -23,6 +23,8 @@ + + Group 6 Final Project