This commit is contained in:
Akif9748 2022-08-26 21:04:44 +03:00
commit 009888d3aa
2 changed files with 29 additions and 5 deletions

View File

@ -0,0 +1,22 @@
.title {
color: #4d18e6;
font-weight: 700;
}
form{
display: flex;
flex-direction: column;
align-items: center;
max-width: 1000px;
margin: 0 auto;
}
.input {
padding: 8px 10px;
font-family: inherit;
display: block;
font-weight: 600;
color: #4c4c4c;
width: 500px;
margin-bottom: 10px;
border: 2px solid #d9d9d9;
}

View File

@ -3,21 +3,23 @@
<%- include("extra/meta", {title: "Create thread!" }) %>
<link rel="stylesheet" href="/css/create_thread.css" />
<body style="text-align: center;">
<%- include("extra/navbar") %>
<form>
<h2 style="color: #4d18e6;">Title:</h2>
<input name="title"></input>
<h2 class="title" style="align-self: baseline;">Title:</h2>
<input name="title" class="input"></input>
<hr>
<h2 style="color: #4d18e6;">Content:</h2>
<textarea rows="4" cols="50" name="content"></textarea>
<h2 class="title" style="align-self: baseline;">Content:</h2>
<textarea rows="4" cols="50" name="content" class="input"></textarea>
<hr>
<button class="big" type="submit">Create Thread!</button>
<button class="btn-primary" style="width:100%" type="submit">Create Thread!</button>
</form>