]> git.p6c8.net - pcdenotes.git/commitdiff
Moved more styles to CSS file
authorPatrick Canterino <patrick@patrick-canterino.de>
Sat, 5 Feb 2022 12:29:06 +0000 (13:29 +0100)
committerPatrick Canterino <patrick@patrick-canterino.de>
Sat, 5 Feb 2022 12:29:06 +0000 (13:29 +0100)
notes/static/notes/style.css
notes/templates/note.html

index c87f0185d6b4a659d7744b4d4a6f9635bfa91adf..ac398b179a6d6d9a5dae416fdad964e9d0817fe4 100644 (file)
@@ -22,6 +22,10 @@ article .publication-date {
     font-size: smaller;
 }
 
+article > div {
+    padding-top: 0.5em;
+}
+
 footer {
     color: #ffffff;
     background-color: #212529;
index 0cc6e3d679cb48520b7530a32922a912171ef00b..ddc9c119681f6c9ff7ed95ef410ab88422f9e1e3 100644 (file)
@@ -2,6 +2,6 @@
 <article{% if note.is_draft %} class="text-muted"{% endif %}>
     <h2><a href="{{ note.get_absolute_url }}"{% if note.is_draft %} class="text-muted"{% endif %}>{{ note.title }}</a></h2>
     {% if note.is_draft %}<p class="fw-bold">Status: Draft</p>{% endif %}
-    <div class="mt-3">{{ note.content|linebreaksbr|markdownify }}</div>
+    <div>{{ note.content|linebreaksbr|markdownify }}</div>
     <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
 </article>
\ No newline at end of file

patrick-canterino.de