minor css changes

This commit is contained in:
sweatshirt0 2023-02-04 13:46:57 -05:00
parent 3e063ff15f
commit 7a617503fd
3 changed files with 10 additions and 2 deletions

View File

@ -3,11 +3,14 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>Welcome, Sweatshirt!</title> <title>Welcome, Sweatshirt!</title>
<link rel="stylesheet" type="text/css" href="../styles/styles.css" />
</head> </head>
<body> <body>
<div class="whole-wrapper"> <div class="whole-wrapper">
<div class="title-wrapper"> <div class="title-wrapper">
<h1 class="title">Welcome Sweatshirt</h1> <h1 class="sweatshirt-title">Welcome Sweatshirt</h1>
</div>
<div class="topics-board-wrapper">
</div> </div>
</div> </div>
</body> </body>

View File

@ -61,7 +61,6 @@ const server = http.createServer((req, res) => {
var post = qs.parse(body); var post = qs.parse(body);
if (post.username === "sweatshirt" && post.password === "Daemons0!") { if (post.username === "sweatshirt" && post.password === "Daemons0!") {
res.writeHead(301, { Location: "/sweatshirt" }); res.writeHead(301, { Location: "/sweatshirt" });
//res.end();
} else { } else {
res.write("try again."); res.write("try again.");
} }

View File

@ -38,6 +38,7 @@ body {
padding-bottom: 15px; padding-bottom: 15px;
border-radius: 5px; border-radius: 5px;
background-color: #fff; background-color: #fff;
box-shadow: 10px 10px 10px lightgrey;
} }
.username { .username {
@ -87,3 +88,8 @@ body {
font-size: 1rem; font-size: 1rem;
} }
.sweatshirt-title {
display: flex;
justify-content: center;
}