diff --git a/beertap/static/background.jpg b/beertap/static/background.jpg new file mode 100644 index 0000000..79ae81b Binary files /dev/null and b/beertap/static/background.jpg differ diff --git a/beertap/static/css/style.css b/beertap/static/css/style.css new file mode 100644 index 0000000..9575fc6 --- /dev/null +++ b/beertap/static/css/style.css @@ -0,0 +1,8 @@ +body { + background: url('/static/background.jpg') no-repeat center center fixed; + -moz-background-size: cover; + -webkit-background-size: cover; + -o-background-size: cover; + background-size: cover; +} + diff --git a/beertap/templates/base.html b/beertap/templates/base.html index d70c459..0209862 100644 --- a/beertap/templates/base.html +++ b/beertap/templates/base.html @@ -14,7 +14,7 @@ href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" crossorigin="anonymous" /> - + {% block title %}Base{% endblock %} diff --git a/beertap/templates/beertap.html b/beertap/templates/beertap.html index c374f2e..128ca20 100644 --- a/beertap/templates/beertap.html +++ b/beertap/templates/beertap.html @@ -2,7 +2,14 @@ {% block title %}Beertap{% endblock %} {% block content %}
+
+
+
+
+
+
+
diff --git a/main.py b/main.py index 1fe9d1d..b8969a4 100644 --- a/main.py +++ b/main.py @@ -3,4 +3,4 @@ from beertap import create_app app = create_app() if __name__ == "__main__": - app.run(debug=True) + app.run(host='0.0.0.0', debug=True)