diff --git a/articles/static/style.css b/articles/static/style.css
index 99f1819..39b911d 100644
--- a/articles/static/style.css
+++ b/articles/static/style.css
@@ -12,6 +12,7 @@
--error-text: #721c24;
--warning-background: #fff3cd;
--warning-text: #856404;
+ --description-margin: .2rem;
}
html {
@@ -71,16 +72,16 @@ a {
margin-top: 4em;
}
-.article-list h2, .article-detail h1 {
- margin-bottom: .2em;
+.article-list h2, h1 {
+ margin-bottom: var(--description-margin);
}
.article-detail h1 {
font-size: 2em;
}
-.date {
- margin-top: .2em;
+.metadata {
+ margin-top: var(--description-margin);
color: var(--main2);
}
diff --git a/articles/templates/articles/article_list.html b/articles/templates/articles/article_list.html
index c4f34cb..818bfd4 100644
--- a/articles/templates/articles/article_list.html
+++ b/articles/templates/articles/article_list.html
@@ -1,10 +1,11 @@
{% extends 'articles/base.html' %}
{% block title %}
- {{ title }}
+ {{ title_header }}
{% endblock %}
{% block content %}
-
diff --git a/articles/templates/articles/base.html b/articles/templates/articles/base.html
index 9cd6376..da67a0e 100644
--- a/articles/templates/articles/base.html
+++ b/articles/templates/articles/base.html
@@ -14,7 +14,7 @@