diff --git a/themes/default/static/css/main.css b/themes/default/static/css/main.css
index a4f26ba..4844f2a 100644
--- a/themes/default/static/css/main.css
+++ b/themes/default/static/css/main.css
@@ -58,11 +58,11 @@ section#content{
article{
margin: 0 0 2em;
}
- article:first-of-type{
+ article:first-child{
background-color: beige;
padding:2em 3em;
}
- article:first-of-type:before{
+ article:first-child:before{
content: "Start of Section";
display: block;
margin:0 auto;
@@ -73,11 +73,14 @@ article{
/* big pink boxes for the section titles */
h1.category{
width: calc(100% - 4em);
- background-color: beige;
- padding: 2em;
+ background-color: #ec25ec;
+ color:white;
+ border-radius: 1em;
+ padding: 2em 2em 2.5em 2em;
margin: 2em 0;
font-size: 32px;
text-align: center;
+ font-weight: normal;
}
ul.navprevnext{
diff --git a/themes/default/templates/categories.html b/themes/default/templates/categories.html
index ad35e82..b1b322c 100644
--- a/themes/default/templates/categories.html
+++ b/themes/default/templates/categories.html
@@ -9,16 +9,20 @@
{% for category, articles in categories | sort(attribute="slug") %}
- {{ category }}
+ {% set c = category|replace("-","
") %}
+ {% set c = ''+c %}
+ {{ c }}
- {% for article in articles %}
-
-
- {{ article.summary }}
-
-
- {% endfor %}
+
+ {% for article in articles | reverse %}
+
+
+ {{ article.summary }}
+
+
+ {% endfor %}
+
{% endfor %}
{% endblock %}
diff --git a/themes/default/templates/index.html b/themes/default/templates/index.html
index eb1e663..04613f6 100644
--- a/themes/default/templates/index.html
+++ b/themes/default/templates/index.html
@@ -3,6 +3,7 @@
{% block content_title %}
{% endblock %}
+
{% for article in articles_page.object_list|sort(attribute="slug")%}
{% endfor %}
+
{% endblock content %}