First draft of a website
This commit is contained in:
7
main.py
Normal file
7
main.py
Normal 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
25
static/styles.css
Normal 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
14
templates/index.html
Normal 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>
|
Reference in New Issue
Block a user