From c7c4e20fdf3716e81db1f1bd2b8a1b64f94ef69a Mon Sep 17 00:00:00 2001 From: Patrick Canterino Date: Sat, 5 Feb 2022 13:20:59 +0100 Subject: [PATCH] Moved more styles to CSS file --- notes/static/notes/style.css | 3 +++ notes/templates/archive_main.html | 2 +- notes/templates/archive_month.html | 2 +- notes/templates/archive_year.html | 2 +- notes/templates/note.html | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/notes/static/notes/style.css b/notes/static/notes/style.css index 8336f03..c87f018 100644 --- a/notes/static/notes/style.css +++ b/notes/static/notes/style.css @@ -13,6 +13,9 @@ h2 a:link, h2 a:visited, h2 a:active, h2 a:hover { color: #212529; } +h2 { + padding-top: 1em; +} article .publication-date { font-style: italic; diff --git a/notes/templates/archive_main.html b/notes/templates/archive_main.html index 640d9f2..268e950 100644 --- a/notes/templates/archive_main.html +++ b/notes/templates/archive_main.html @@ -3,7 +3,7 @@ {% block title %}Archive – Notes{% endblock %} {% block content %} -

Archive

+

Archive

{% if years %}