From d6f7554dcc4b221f1fdf6d4b2ccdc8a547553227 Mon Sep 17 00:00:00 2001 From: Jurgis Sakalauskas Date: Wed, 29 Apr 2026 11:05:39 +0300 Subject: [PATCH] changes --- app.py | 2 +- static/style.css | 7 +++++-- templates/base.html | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 4476cfb..05f43d4 100644 --- a/app.py +++ b/app.py @@ -57,7 +57,7 @@ def add(): return redirect(url_for("index")) -@app.route("/download/") +@app.route("/download/.epub") def download(article_id): article = storage.get_article(article_id) if not article: diff --git a/static/style.css b/static/style.css index 28672e5..dd57905 100644 --- a/static/style.css +++ b/static/style.css @@ -1,12 +1,15 @@ * { box-sizing: border-box; } +html, body { + width: 100%; + margin: 0; +} + body { font-family: serif; font-size: 1.6rem; line-height: 1.5; - margin: 0; padding: 1rem; - max-width: 100%; } .add-form { diff --git a/templates/base.html b/templates/base.html index 80c1b39..856221c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,7 +2,9 @@ - + + + {% block title %}kob{% endblock %}