First draft of a website

This commit is contained in:
2021-08-22 15:50:01 +03:00
parent a907acf175
commit dfd8cc2f3c
3 changed files with 46 additions and 0 deletions

7
main.py Normal file
View File

@ -0,0 +1,7 @@
from flask import Flask
from flask import render_template
app = Flask(__name__)
@app.route("/")
def main():
return render_template('index.html')

25
static/styles.css Normal file
View File

@ -0,0 +1,25 @@
body {
position: relative;
background-color: DarkSlateBlue;
color: white;
font-family: Arial;
font-size: 400%;
}
.center {
position: absolute;
top: 50%;
width: 100%;
text-align: center;
}
.bottom {
background-color: black;
position: fixed;
width: 100%;
bottom: 0;
right: 0px;
font-size: 30px;
text-align: right;
padding: 10px;
}

14
templates/index.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href={{ url_for('static', filename='styles.css') }}>
<title>One day, we will be there</title>
</head>
<body>
<h1 class="center">Coming soon! (2022?)</h1>
<div class="bottom">
<p>For any info, please contact alexandru.pentilescu@disroot.org</p>
</div>
</body>
</html>