Add css
This commit is contained in:
parent
1d8b37add1
commit
e4d2a45d6c
3 changed files with 40 additions and 10 deletions
2
app.py
2
app.py
|
@ -14,4 +14,4 @@ logging.basicConfig()
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("app:app", host="127.0.0.1", port=8000, log_level="info")
|
||||
uvicorn.run("app:app", host="127.0.0.1", port=8000, log_level="info", reload=True)
|
||||
|
|
31
static/index.css
Normal file
31
static/index.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
p {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
#container {
|
||||
width: 2100px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
#search {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
outline: none;
|
||||
|
||||
font-size: 50px;
|
||||
|
||||
border: 2px solid #ccc;
|
||||
border-width: 4px;
|
||||
border-radius: 50px;
|
||||
|
||||
padding-left: 25px;
|
||||
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
@ -1,21 +1,20 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Stoatally Different</title>
|
||||
<link rel="search"
|
||||
<link href="/index.css" rel="stylesheet">
|
||||
<link rel="search"
|
||||
type="application/opensearchdescription+xml"
|
||||
title="Stoatally Different"
|
||||
href="http://localhost:8000/plugin.xml">
|
||||
<script src="/index.js"></script>
|
||||
<script src="/index.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
Stoatally different.
|
||||
|
||||
<form action="/search">
|
||||
<input type="search" id="search" name="s" value="" autofocus/>
|
||||
</form>
|
||||
|
||||
<div id="results">
|
||||
<div id="container">
|
||||
<!-- <form action="/search">-->
|
||||
<input type="search" id="search" name="s" value="" autofocus/>
|
||||
<!-- </form>-->
|
||||
|
||||
<div id="results"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue