diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 61ea492..7cff4f2 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -9,38 +9,38 @@ html { height: 100%; margin: 0; - display: flex; - justify-content: center; } body { background-color: var(--light-grey); min-height: 100vh; - width: 100%; margin-top: 0px; - display: flex; - flex-direction: column; - justify-content: flex-start; + margin: 0px; table-layout: auto; } .header { + background-color: var(--dark-grey); grid-area: header; - margin-left: 20px; - margin-right: 20px; display: flex; flex-direction: row; - height: 100px; + height: 60px; align-items: center; justify-content: space-between; } +.logo { + color: var(--light-blue); + font-weight: bold; +} + .header-left { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; + padding-left: 20px; } .header-right { @@ -49,6 +49,7 @@ body { align-items: center; justify-content: flex-end; gap: 10px; + padding-right: 20px; } .nw { @@ -108,18 +109,25 @@ body { .box { border: 2px solid #AAAAAA; + background-color: white; border-radius: 16px; margin: 4px; - padding: 12px; padding-top: 6px; - display: flex; + box-shadow: 5px 5px 5px #00000055; + display: block; flex-direction: column; justify-content: flex-start; text-justify: center; + text-align: left; gap: 5px; overflow: hidden; } +.box p { + padding-left: 20px; + font-size: 24px; +} + .box table { width: 100%; } @@ -128,7 +136,7 @@ body { display: block; overflow-y: auto; overflow-x: hidden; - max-height: calc((100vh - 100px) / 2 - 100px); + max-height: calc((100vh - 60px) / 2 - 100px); } .box thead, @@ -188,14 +196,22 @@ body { min-width: 0px; } +hr { + min-width: 125%; + margin: auto 0; +} + form { + background-color: white; display: flex; flex-direction: column; align-items: center; border: 2px solid #AAAAAA; - border-radius: 10px; + border-radius: 20px; padding: 10px; margin: 20px; + padding-left: 50px; + padding-right: 50px; gap: 5px; } @@ -242,19 +258,39 @@ form { a { background-color: transparent; - border: 2px solid #606060; max-height: 20px; border-radius: 5px; - color: white; + color: var(--royal-blue); padding-left: 5px; padding-right: 5px; + text-align: center; + align-items: center; + justify-content: center; + font: 16px tahoma, sans-serif; + transition: transform 0.1s ease-in, border 0.05s ease-in; +} + +a.button { + background-color: var(--light-blue); + border: 2px solid var(--royal-blue); + border-radius: 5px; + padding: 5px; + gap: 5px; + transition: transform 0.1s ease-in, border 0.1s ease-in; + color: #0c0c0c; text-decoration: none; text-align: center; align-items: center; justify-content: center; - color: #eeeeee; font: 16px tahoma, sans-serif; - transition: transform 0.1s ease-in, border 0.05s ease-in; +} + +a.button:hover { + transform: translate(0px, -3px); +} + +a.button:focus { + transform: translate(0px, 3px); } button { @@ -264,44 +300,42 @@ button { padding: 5px; gap: 5px; transition: transform 0.1s ease-in, border 0.1s ease-in; - color: white; + color: var(#0c0c0c); text-decoration: none; text-align: center; align-items: center; justify-content: center; - color: #eeeeee; font: 16px tahoma, sans-serif; } input { - background-color: black; - border: 2px solid #606060; + background-color: var(--light-grey); + border: 2px solid var(--dark-grey); margin: 5px; - border-radius: 5px; padding: 2px; padding-left: 5px; gap: 5px; - color: white; + color: var(--dark-grey); text-decoration: none; text-align: left; align-items: flex-start; justify-content: flex-start; - color: #eeeeee; font: 16px tahoma, sans-serif; transition: transform 0.05s ease-out, border 0.1s ease-in; } input:hover { - border: 2px solid #cccccc; + border: 2px solid black; } input:focus { + border: 2px solid var(--royal-blue); outline: none; } input:focus-visible { + border: 2px solid var(--royal-blue); outline: none; - border: 2px solid white; } select { @@ -338,20 +372,17 @@ select:focus-visible { button:hover { transform: translate(0px, -3px); - border: 2px solid white; } button:focus { transform: translate(0px, 3px); - border: 2px solid white; } a:hover { - border: 2px solid #CCCCCC; + transform: translate(0px, -1px); } a:focus { - border: 2px solid #00b3ff; transform: translate(0px, 3px); } @@ -389,31 +420,31 @@ td { font: 14px tahoma, sans-serif; border: 1px solid #CCCCCC; padding: 6px 12px; - color: #CCCCCC; + color: var(--dark-grey); } tr:nth-child(even) { - background-color: #2a2a2a; + background-color: #ffffff; } tr:nth-child(odd) { - background-color: #161616; + background-color: #f8f8f8; } h2 { - color: #ffffff; + color: var(--dark-grey); font: 32px "Verdana"; margin: 0; } h3 { - color: #CCCCCC; + color: var(--dark-grey); font: 24px "Verdana"; margin: 0; } p { - color: #eeeeee; + color: var(--dark-grey); font: 16px tahoma, sans-serif; min-width: 50px; margin-top: 5px; diff --git a/public/home.html b/public/home.html index 56e7127..2be11a7 100644 --- a/public/home.html +++ b/public/home.html @@ -8,19 +8,19 @@
Favorites
+Watched Players
Highest contracts
+Highest Contracts
Highest paydirt score
+Highest PayDirt Score
+ A player's PayDirt score is calculated by weighting their offense score by their annual salary. It is used to evaluate the worth of their contract. +Highest offense score
+Highest Offense Score
+ A player's offense score is calculated by combining several of their offense stats into a weighted score. It is indicative of their overall performance. +