From 927f101eb438b33447d349efc99d34ce2ed6e2e2 Mon Sep 17 00:00:00 2001 From: mowoe <github@mowoe.com> Date: Sun, 28 Apr 2019 08:49:09 +0200 Subject: [PATCH] merge success --- main.py | 7 ++++++ static/main.css | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 main.py create mode 100644 static/main.css diff --git a/main.py b/main.py new file mode 100644 index 0000000..e618dd7 --- /dev/null +++ b/main.py @@ -0,0 +1,7 @@ +from flask import Flask +from view.questions import questions + +app = Flask(__name__) +app.config['SECRET_KEY'] = 'blubb' +app.register_blueprint(questions) +app.run(debug=True) diff --git a/static/main.css b/static/main.css new file mode 100644 index 0000000..59fdfee --- /dev/null +++ b/static/main.css @@ -0,0 +1,62 @@ +@font-face { font-family: PressStart2P; src: url('../../static/PressStart2P-Regular.ttf'); } + + +.vertical-center { + min-height: 100%; /* Fallback for browsers do NOT support vh unit */ + min-height: 100vh; /* These two lines are counted as one :-) */ + + display: flex; + align-items: center; + } +.my-auto { + margin-top: auto; +margin-bottom: auto; +} +.hor-cent { + margin: 0 auto; + border-radius: 10px; + width: 40%; + background-color: black; + color: white; + position: relative; +} + +.imgplacer { + margin: 0 auto; + width: 50%; +} + +img { + width: 100%; +} + +.fw { + width: 100%; +} + +.ccc-blue{ + color: #0084b0; +} + +.ccc-green{ + color: #00a356; +} + +.white{ + color: white; +} + +body { + + background-color: #232323; + font-family: PressStart2P; +} + +@media (max-width: 1275.98px) { + .hor-cent { + width:90%; + } + .imgplacer { + width: 60%; + } +} -- GitLab