From 517a416ebd9afb75275998bc257e07404d991cc1 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 15 Nov 2016 11:09:26 +0100 Subject: Fix up paddings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- templates/entry.html | 8 ++------ templates/layout.html | 5 ++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/templates/entry.html b/templates/entry.html index e9acc7a..ec28fe4 100644 --- a/templates/entry.html +++ b/templates/entry.html @@ -10,17 +10,13 @@ {{ content }} +
{% if older and newer%} -
OlderNewer -
{% elif older %} -
Older -
{% elif newer %} -
Newer -
{% endif %} +
{% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 466f2b7..dc1507a 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -28,8 +28,9 @@ header nav a, header nav a:visited { header nav a:hover { color: #000; } -header, article, footer { +header, #content, footer { padding-left: 0.5rem; + padding-right: 0.5rem; } article p { white-space: pre-wrap; @@ -72,7 +73,9 @@ footer ul#contact-info li {
+
{% block content %}{% endblock %} +