From: Patrick Canterino Date: Sat, 5 Feb 2022 12:29:06 +0000 (+0100) Subject: Moved more styles to CSS file X-Git-Url: https://git.p6c8.net/pcdenotes.git/commitdiff_plain/f03e7473f19531e0fc59feaabeb96cba438d6a9d?ds=sidebyside Moved more styles to CSS file --- diff --git a/notes/static/notes/style.css b/notes/static/notes/style.css index c87f018..ac398b1 100644 --- a/notes/static/notes/style.css +++ b/notes/static/notes/style.css @@ -22,6 +22,10 @@ article .publication-date { font-size: smaller; } +article > div { + padding-top: 0.5em; +} + footer { color: #ffffff; background-color: #212529; diff --git a/notes/templates/note.html b/notes/templates/note.html index 0cc6e3d..ddc9c11 100644 --- a/notes/templates/note.html +++ b/notes/templates/note.html @@ -2,6 +2,6 @@

{{ note.title }}

{% if note.is_draft %}

Status: Draft

{% endif %} -
{{ note.content|linebreaksbr|markdownify }}
+
{{ note.content|linebreaksbr|markdownify }}

Published on {{ note.created_at|date:"Y-m-d, H:i" }}

\ No newline at end of file