Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Add css

Daoud Clarkee4d2a45d6c5f
diff --git a/app.py b/app.py
index 9bb801f..b2038d8 100644
--- a/app.py
+++ b/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)
diff --git a/static/index.css b/static/index.css
new file mode 100644
index 0000000..ab58c6d
--- /dev/null
+++ b/static/index.css
@@ -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;
+}
+
diff --git a/static/index.html b/static/index.html
index 354888d..e771634 100644
--- a/static/index.html
+++ b/static/index.html
@@ -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>