From c1dafc4e5d601f43368ac8ea816d5a371b2fd0c1 Mon Sep 17 00:00:00 2001 From: ItsAundre! <126304209+ItsAundre@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:46:13 -0500 Subject: [PATCH] Update --- style.css | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/style.css b/style.css index 8e06a3c..3fb4912 100644 --- a/style.css +++ b/style.css @@ -32,7 +32,7 @@ body { .topFooter { position: fixed; - height: 10vh; + height: 5vh; width: 100vw; top: 0%; background: rgb(10, 10, 10); @@ -40,58 +40,43 @@ body { display: flex; place-content: center; align-items: center; - justify-content: space-evenly; + justify-content: flex-start; } .homeButton { - color: lightgray; background: linear-gradient(to top, rgb(10, 10, 10), rgba(120, 30, 255, 0.1)); - font-size: var(--topButtonClickSize); } .homeButton:hover { background: linear-gradient(to top, rgb(10, 10, 10), rgba(120, 30, 255, 0.2)); - cursor: pointer; - font-size: var(--topButtonHoverSize); } .homeButton:active { background: radial-gradient(rgba(255, 255, 255, .05), rgb(10, 10, 10)); - font-size: var(--topButtonClickSize); } .termsOfUse { - color: lightgray; background: linear-gradient(to top, rgb(10, 10, 10), rgba(50, 30, 255, 0.1)); - font-size: var(--topButtonNormalSize); } .termsOfUse:hover { background: linear-gradient(to top, rgb(10, 10, 10), rgba(50, 30, 255, 0.2)); - cursor: pointer; - font-size: var(--topButtonHoverSize); } .termsOfUse:active { background: radial-gradient(rgba(255, 255, 255, .05), rgb(10, 10, 10)); - font-size: var(--topButtonClickSize); } .packDetailsButton { - color: lightgray; background: linear-gradient(to top, rgb(10, 10, 10), rgba(255, 255, 0, 0.1)); - font-size: var(--topButtonNormalSize); } .packDetailsButton:hover { background: linear-gradient(to top, rgb(10, 10, 10), rgba(255, 255, 0, 0.2)); - cursor: pointer; - font-size: var(--topButtonHoverSize); } .packDetailsButton:active { background: radial-gradient(rgba(255, 255, 255, .05), rgb(10, 10, 10)); - font-size: var(--topButtonClickSize); } .homeButton, .packDetailsButton, .termsOfUse { @@ -101,11 +86,22 @@ body { display: block; position: relative; transition: .1s ease-in-out; - line-height: 10vh; + line-height: 5vh; +} + +.packDetailsButton:hover, .homeButton:hover, .termsOfUse:hover { + color: rgb(150, 150, 150); + cursor: pointer; + font-size: var(--topButtonHoverSize); +} + +.packDetailsButton:active, .homeButton:active, .termsOfUse:active { + color: rgb(255, 255, 255); + font-size: var(--topButtonClickSize); } :root { - --topButtonClickSize: calc(1rem / 3.2); - --topButtonHoverSize: calc(1rem / 2.8); - --topButtonNormalSize: calc(1rem / 3); -} \ No newline at end of file + --topButtonClickSize: 1.4vw; + --topButtonHoverSize: 1.6vw; + --topButtonNormalSize: 1.5vw; +}