From aa651452ddc8d32c7862eaa44d242533c97e522b Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Sat, 2 Nov 2024 19:33:19 -0700 Subject: [PATCH] add some styling for login and homepage --- assets/css/login.css | 38 ++++++++++++++++++++++++++++++++++++-- assets/css/style.css | 12 ++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/assets/css/login.css b/assets/css/login.css index e55a330..c5693a7 100644 --- a/assets/css/login.css +++ b/assets/css/login.css @@ -1,4 +1,38 @@ body { - background: #fff; - color: #000; + display: flex; + justify-content: center; /* Center horizontally */ + align-items: center; /* Center vertically */ + height: 100vh; /* Full viewport height */ + margin: 0; /* Remove default margin */ + background-color: #f4f4f4; +} +.login-page-container { + background: white; + padding: 20px; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + text-align: center; + width:400px; + box-sizing: border-box; +} + +.login-button { + display: block; /* Change to block for vertical alignment */ + margin: 10px 0; + padding: 10px 20px; + border-radius: 5px; + color: white; + text-decoration: none; + font-size: 16px; + font-family: "Helvetica Neue", Helvetica, serif; +} + +.twitch { + background-color: #9146ff; +} +.google { + background-color: #db4437; +} +.x { + background-color: #1da1f2; } \ No newline at end of file diff --git a/assets/css/style.css b/assets/css/style.css index 393ae70..72d8451 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -51,4 +51,16 @@ body { margin: 0 auto; background-position: center; background-size: 100%; +} + +a.login-banner-link:link, +a.login-banner-link:visited, +a.login-banner-link:hover, +a.login-banner-link:active { + font-family: "Helvetica Neue", Helvetica, serif; + color: #1da1f2; + text-decoration: none; + display: block; + align-self: center; + margin-right: 20px; } \ No newline at end of file