Shortly before finishing
This commit is contained in:
parent
6c1d6762b5
commit
8ec5eb69ab
15 changed files with 511 additions and 15 deletions
server-implementation/templates
101
server-implementation/templates/index.html
Normal file
101
server-implementation/templates/index.html
Normal file
|
@ -0,0 +1,101 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>xkcd-finder</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<h1 class="head">xkcd-finder</h1>
|
||||
<h2 class="sub">Find me an xkcd for the topic ...</h2>
|
||||
<form action="/search" method="POST">
|
||||
{{form.csrf_token}}
|
||||
{{form.ids}}
|
||||
{{form.submit}}
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<style>
|
||||
* {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #1b1b1b;
|
||||
margin: 0px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
div {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-top: 12.5rem;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
width: 45%;
|
||||
height: auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
form > input[type=text] {
|
||||
font-weight: 500;
|
||||
color: #eee;
|
||||
padding: 0.5rem 0.75rem;
|
||||
text-decoration: none;
|
||||
background-color: #333;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-color: #b86cff;
|
||||
height: 2rem;
|
||||
width: 100%;
|
||||
font-size: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form > input[type=submit] {
|
||||
font-weight: 500;
|
||||
font-size: 1.5rem;
|
||||
color: #eee;
|
||||
margin: 1rem 0px 0px;
|
||||
padding: 0.5rem 0.75rem;
|
||||
text-decoration: none;
|
||||
background-color: #333;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-color: #333;
|
||||
text-transform: capitalize;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
form > input[type=submit]:hover {
|
||||
border-color: #b86cff;
|
||||
}
|
||||
|
||||
.head {
|
||||
margin: 0 .5rem;
|
||||
hyphens: auto;
|
||||
padding-top: 2rem;
|
||||
font-size: 3.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sub {
|
||||
margin: 0 .5rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 500;
|
||||
color: #eee;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.head {
|
||||
color: #b86cff;
|
||||
}
|
||||
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue