diff --git a/articles/static/style.css b/articles/static/style.css index 9de9b18..1f30365 100644 --- a/articles/static/style.css +++ b/articles/static/style.css @@ -36,7 +36,7 @@ a:hover, a:focus { color: var(--background); } -article.article-list h2 a { +.article-list h2 a { border-color: transparent; } @@ -57,11 +57,11 @@ article.article-list h2 a { flex-grow: 0; } -article.article-list + article.article-list { +.article-list + .article-list { margin-top: 4em; } -article.article-list h2, article h1 { +.article-list h2, .article-detail h1 { margin-bottom: .2em; } diff --git a/articles/templates/articles/article_detail.html b/articles/templates/articles/article_detail.html index 5bdf8bd..04b4f68 100644 --- a/articles/templates/articles/article_detail.html +++ b/articles/templates/articles/article_detail.html @@ -4,11 +4,11 @@ {{ article.title }} {% endblock %} {% block content %} -
+

{{ article.title }}{% if article.status != article.PUBLISHED %} ({{ article.status }}){% endif %}

{% include "articles/metadata_snippet.html" %}
{{ article.get_formatted_content|safe }}
-
+ {% endblock %}