From e9a64abced03f9cf9eecce71149320af906c6978 Mon Sep 17 00:00:00 2001 From: TriMill Date: Tue, 25 Oct 2022 22:54:05 -0400 Subject: [PATCH] improve blog readability --- flaskr/static/style.css | 4 ++-- flaskr/templates/_blog.html | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flaskr/static/style.css b/flaskr/static/style.css index 3f41742..af0dbd2 100644 --- a/flaskr/static/style.css +++ b/flaskr/static/style.css @@ -201,8 +201,8 @@ a:active { color: var(--link-active); } } p { - margin-top: 8px; - margin-bottom: 8px; + margin-top: 10px; + margin-bottom: 10px; } code, pre { diff --git a/flaskr/templates/_blog.html b/flaskr/templates/_blog.html index 9da7586..b22aa29 100644 --- a/flaskr/templates/_blog.html +++ b/flaskr/templates/_blog.html @@ -23,6 +23,10 @@ img { margin-left: auto; margin-right: auto; } +p { + margin-top: 24px; + margin-bottom: 24px; +} {% endblock %} @@ -32,4 +36,4 @@ img {
{{ content | safe }}
-{% endblock %} \ No newline at end of file +{% endblock %}