Spaces:
Sleeping
Sleeping
deploy at 2024-08-24 21:12:01.790249
Browse files- main.py +2 -1
- styles.css +11 -0
main.py
CHANGED
@@ -3,8 +3,9 @@ from fasthtml.common import *
|
|
3 |
#import io
|
4 |
#import base64
|
5 |
|
|
|
6 |
|
7 |
-
app,rt = fast_app(hdrs=(
|
8 |
|
9 |
@rt('/')
|
10 |
def home():
|
|
|
3 |
#import io
|
4 |
#import base64
|
5 |
|
6 |
+
custom_css_link = Link(rel="stylesheet", href="/static/styles.css")
|
7 |
|
8 |
+
app,rt = fast_app(hdrs=(custom_css_link))
|
9 |
|
10 |
@rt('/')
|
11 |
def home():
|
styles.css
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* static/styles.css */
|
2 |
+
body {
|
3 |
+
display: flex;
|
4 |
+
justify-content: center;
|
5 |
+
align-items: center;
|
6 |
+
min-height: 100vh;
|
7 |
+
margin: 0;
|
8 |
+
}
|
9 |
+
.container {
|
10 |
+
text-align: center;
|
11 |
+
}
|