minor css changes
This commit is contained in:
parent
3e063ff15f
commit
7a617503fd
@ -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>
|
||||||
|
@ -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.");
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user