commit 27e9a441b5668557c1163bffaed2ec7dd672ab5c
parent 9fa3dc0d28d238cb6eba9f96f65c07331ed5359b
Author: FIGBERT <figbert@figbert.com>
Date: Thu, 8 Apr 2021 19:21:21 -0700
Increase spacing in article paragraphs
Diffstat:
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/sass/global.sass b/sass/global.sass
@@ -14,7 +14,7 @@ body
color: $text-color
margin-left: auto
margin-right: auto
- line-height: 2
+ line-height: 200%
max-width: 40rem
padding-left: 3rem
padding-right: 3rem
@@ -29,3 +29,7 @@ video, picture, img
h3
margin: 0
+article > p
+ line-height: 2.5
+ margin-bottom: 1.75rem
+
diff --git a/templates/article.html b/templates/article.html
@@ -53,13 +53,13 @@
{% endblock %}
{% block content %}
- <div>
+ <article>
<h1><a href="{{ current_url }}">{{ page.title }}</a></h1>
<small>
<time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time>
by <a href="{{ config.base_url }}">FIGBERT</a>
</small>
- <div>{{ page.content | safe }}</div>
- </div>
+ {{ page.content | safe }}
+ </article>
{% endblock content %}