diff --git a/static/css/categories.css b/static/css/categories.css index 3e935c9..f7e5e58 100644 --- a/static/css/categories.css +++ b/static/css/categories.css @@ -1,10 +1,16 @@ .inner.cover { + display: flex; + flex-direction: column; + align-items: center; +} + +#categories { display: flex; align-items: baseline; flex-wrap: wrap; } -.inner.cover > span { +#categories span { width: 33%; margin-bottom: 10px; } diff --git a/templates/categories.html b/templates/categories.html index 6cc8ef3..16b0095 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -6,20 +6,23 @@ vim: ts=2 noexpandtab {% set active_page = "categories" %} {% block content %} - {% for category in categories %} - - - - {% endfor %} +

Categories

+
+ {% for category in categories %} + + + + {% endfor %} +
{% endblock content%}