From: Patrick Canterino Date: Mon, 31 Jan 2022 18:15:24 +0000 (+0100) Subject: Moved more styles to CSS file X-Git-Url: https://git.p6c8.net/pcdenotes.git/commitdiff_plain/53a6ba8267b2e8bf88d601c55e2df429a5230ff0 Moved more styles to CSS file --- diff --git a/notes/static/style.css b/notes/static/style.css index 57d9dfc..ae3c9da 100644 --- a/notes/static/style.css +++ b/notes/static/style.css @@ -4,17 +4,18 @@ header { text-align: center; } -header a:link, header a:visited, header a:active, header a:hover { +header a:link, header a:visited, header a:active, header a:hover, +footer a:link, footer a:visited, footer a:active, footer a:hover { color: #ffffff; } -footer { - color: #ffffff; - background-color: #212529; +h2 a:link, h2 a:visited, h2 a:active, h2 a:hover { + color: #212529; } -footer a:link, footer a:visited, footer a:active, footer a:hover { +footer { color: #ffffff; + background-color: #212529; } footer ul { diff --git a/notes/templates/note.html b/notes/templates/note.html index 9eebd5c..7f384f9 100644 --- a/notes/templates/note.html +++ b/notes/templates/note.html @@ -1,6 +1,6 @@ {% load markdownify %}
-

{{ note.title }}

+

{{ note.title }}

{% if note.is_draft %}

Status: Draft

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

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