From bbd76cbd47062783a873b2f918379ce952064646 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 9 Sep 2023 19:06:59 -0500 Subject: [PATCH] Reworked some css, made our friendly button look better and footer is stuck for good --- docs/index.html | 8 ++++---- docs/main.css | 25 +++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/docs/index.html b/docs/index.html index e4c2579..d96be9b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -75,20 +75,20 @@

-

+

- + diff --git a/docs/main.css b/docs/main.css index 3631928..9ded5a6 100644 --- a/docs/main.css +++ b/docs/main.css @@ -8,12 +8,14 @@ --footer-size: 10px; --background-gradient: linear-gradient(90deg, rgba(61, 87, 92, 1) 0, #454454 100%); --link-color: #2c82c9; + font-family: 'Helvetica Neue', sans-serif; } body { font-family: 'Helvetica Neue', sans-serif; background: #1b1a2a; background: var(--background-gradient); + margin: 0; } a { @@ -25,11 +27,11 @@ main { padding: 10%; } -footer { +.footy { background-color: #2e2d2d; color: #fff; padding: 1%; - position: absolute; + position: relative; bottom: 0; left: 0; width: 100%; @@ -38,6 +40,7 @@ footer { display: flex; flex-direction: row; justify-content: space-between; + align-self: flex-end; } * { @@ -50,9 +53,25 @@ footer { grid-auto-rows: minmax(100px, auto); text-align: center; color: #fff; + margin-top: 10px; + min-height: 100vh; /* background-color: rgba(0, 0, 0, .4); */ } +.submit-button { + display: flex; + padding: 5px 10px; + justify-content: center; + align-items: center; + align-self: center; + gap: 15px; + border-radius: 10px; + border: 2px solid #000; + max-width: 150px; + width: 100%; + font-size: 16px; +} + .about-text { background-color: rgba(0, 0, 0, .4); border: 3px solid #f1f1f1; @@ -75,6 +94,8 @@ footer { margin: 0 auto; border-radius: 10px; padding: var(--bg-form-padding); + display: flex; + flex-direction: column; } .chart-container {