diff --git a/app.py b/app.py index 8d9a438..318af59 100644 --- a/app.py +++ b/app.py @@ -35,3 +35,10 @@ if 'SENTRY_DSN' in app.config: from raven.contrib.flask import Sentry app.config['SENTRY_CONFIG']['release'] = version.version sentry = Sentry(app, dsn=app.config['SENTRY_DSN']) + +@app.context_processor +def inject_static(): + from flask import url_for + def static(filename, **kwargs): + return url_for('static', filename=filename, **kwargs) + return {'st': static} diff --git a/static/style.css b/static/style.css index cad556c..7360128 100644 --- a/static/style.css +++ b/static/style.css @@ -18,12 +18,15 @@ body > section, body > header { header > h1 { margin: 0; - text-indent:-1000vw; - background: url('/static/logotype.png') no-repeat 2rem bottom, white; - background-size: contain; - padding: 2em; + padding: 0; } +h1 img { + margin-left: 2.5rem; +} + + + body > section { margin-bottom: 3rem; @@ -50,10 +53,6 @@ h3 { padding-left: 5rem; } -header { - text-align: center; -} - input[type=number]{ max-width: 8ch; } diff --git a/templates/lib/layout.html b/templates/lib/layout.html index e8d0b5e..2770dc6 100644 --- a/templates/lib/layout.html +++ b/templates/lib/layout.html @@ -2,12 +2,12 @@ Forget - + - + - + @@ -15,7 +15,11 @@
-

Forget

+

+ + Forget + +

{% block body %}{% endblock %}