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