commit 8930d86fa368fe1ba322c29aa39defc322d77f3c
parent 929b4b6b67acbda9c994fc10a9465a501ce20a35
Author: mcol <mcol@posteo.net>
Date: Sun, 2 Aug 2020 16:17:27 +0100
monospace category lists
Diffstat:
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/static/css/main.css b/static/css/main.css
@@ -242,6 +242,10 @@ img {
display: block;
}
+.cats {
+ font-family: "Lucida Console", Monaco, monospace;
+}
+
/* BLOGROLL */
diff --git a/templates/archives.html b/templates/archives.html
@@ -5,7 +5,7 @@
{% block content %}
<h1>{{ ARCHIVES_TITLE }}</h1>
-<div id=cats>
+<div class=cats>
By category:
<ul>
{% for category, articles in categories|sort %}
diff --git a/templates/categories.html b/templates/categories.html
@@ -4,7 +4,7 @@
{% block content %}
<h1>categories</h1>
-<ul>
+<ul class=cats>
{% for category, articles in categories|sort %}
<li><a href="/{{ category.url }}">{{ category }} ({{ articles|count }})</a></li>
{% endfor %}