From 7a617503fdab5edabc04390a5725df70f316112f Mon Sep 17 00:00:00 2001 From: sweatshirt0 Date: Sat, 4 Feb 2023 13:46:57 -0500 Subject: [PATCH] minor css changes --- pages/sweatshirt.html | 5 ++++- server.js | 1 - styles/styles.css | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/sweatshirt.html b/pages/sweatshirt.html index 1997896..2274046 100644 --- a/pages/sweatshirt.html +++ b/pages/sweatshirt.html @@ -3,11 +3,14 @@ Welcome, Sweatshirt! +
-

Welcome Sweatshirt

+

Welcome Sweatshirt

+
+
diff --git a/server.js b/server.js index 744b3c3..73ceb2b 100644 --- a/server.js +++ b/server.js @@ -61,7 +61,6 @@ const server = http.createServer((req, res) => { var post = qs.parse(body); if (post.username === "sweatshirt" && post.password === "Daemons0!") { res.writeHead(301, { Location: "/sweatshirt" }); - //res.end(); } else { res.write("try again."); } diff --git a/styles/styles.css b/styles/styles.css index 0d51ac5..ace817c 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -38,6 +38,7 @@ body { padding-bottom: 15px; border-radius: 5px; background-color: #fff; + box-shadow: 10px 10px 10px lightgrey; } .username { @@ -87,3 +88,8 @@ body { font-size: 1rem; } +.sweatshirt-title { + display: flex; + justify-content: center; +} +