diff --git a/static/css/out.css b/static/css/out.css
index d5e7de90..998b8c26 100644
--- a/static/css/out.css
+++ b/static/css/out.css
@@ -1185,6 +1185,10 @@ dd {
color: #575279;
}
+.prose :where(th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
+ color: #575279;
+}
+
/*This does not seem to affect prismjs which is good*/
code {
@@ -1235,6 +1239,50 @@ code {
margin-left: 3.5rem;
}
+.-mb-4 {
+ margin-bottom: -1rem;
+}
+
+.mt-4 {
+ margin-top: 1rem;
+}
+
+.-mb-2 {
+ margin-bottom: -0.5rem;
+}
+
+.-mb-1 {
+ margin-bottom: -0.25rem;
+}
+
+.mt-2 {
+ margin-top: 0.5rem;
+}
+
+.mt-8 {
+ margin-top: 2rem;
+}
+
+.mt-12 {
+ margin-top: 3rem;
+}
+
+.mt-1 {
+ margin-top: 0.25rem;
+}
+
+.mb-1 {
+ margin-bottom: 0.25rem;
+}
+
+.mb-2 {
+ margin-bottom: 0.5rem;
+}
+
+.mt-6 {
+ margin-top: 1.5rem;
+}
+
.block {
display: block;
}
@@ -1268,10 +1316,18 @@ code {
width: 2rem;
}
+.list-outside {
+ list-style-position: outside;
+}
+
.list-none {
list-style-type: none;
}
+.list-disc {
+ list-style-type: disc;
+}
+
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
@@ -1374,6 +1430,14 @@ code {
padding-top: 5rem;
}
+.pt-4 {
+ padding-top: 1rem;
+}
+
+.pb-2 {
+ padding-bottom: 0.5rem;
+}
+
.text-center {
text-align: center;
}
@@ -1401,6 +1465,16 @@ code {
line-height: 1.75rem;
}
+.text-2xl {
+ font-size: 1.5rem;
+ line-height: 2rem;
+}
+
+.text-7xl {
+ font-size: 4.5rem;
+ line-height: 1;
+}
+
.font-bold {
font-weight: 700;
}
@@ -2033,6 +2107,10 @@ code {
color: #c4a7e7;
font-weight: 800;
}
+
+ .dark\:prose-dark :where(th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
+ color: #c4a7e7;
+ }
}
.hover\:no-underline:hover {
@@ -2079,6 +2157,16 @@ code {
font-size: 1rem;
line-height: 1.5rem;
}
+
+ .md\:text-xl {
+ font-size: 1.25rem;
+ line-height: 1.75rem;
+ }
+
+ .md\:text-3xl {
+ font-size: 1.875rem;
+ line-height: 2.25rem;
+ }
}
@media (min-width: 1024px) {
diff --git a/templates/archives.html b/templates/archives.html
index 882148bc..131a095a 100644
--- a/templates/archives.html
+++ b/templates/archives.html
@@ -4,13 +4,26 @@
{% block content %}
-
Blog archive
+
Blog archive
+
-
- {% for article in dates %}
- - {{ article.locale_date }}
- - {{ article.title }}
- {% endfor %}
-
+ {% for article in dates %}
+ {% set year = article.date.strftime('%Y') %}
+ {% if loop.first %}
+
+ {% else %}
+ {% set prevyear = loop.previtem.date.strftime('%Y') %}
+ {% if prevyear != year %}
+
+ {% endif %}
+ {% endif %}
+ {% set month = article.date.strftime('%m') %}
+ {% set day = article.date.strftime('%d') %}
+ - {{ article.locale_date }}: {{ article.title }}
+ {%if article.subtitle %}
+ {{ article.subtitle }}
+ {% endif %}
+ {% endfor %}
+
{% endblock %}
diff --git a/templates/article.html b/templates/article.html
index 44369964..62142b84 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -19,10 +19,10 @@
{% block content %}
-
+
{{ article.title }}
#
-
+
-
diff --git a/templates/author.html b/templates/author.html
index 06f871dc..1a5a8903 100644
--- a/templates/author.html
+++ b/templates/author.html
@@ -3,5 +3,5 @@
{% block title %}{{ SITENAME|striptags }} - Articles by {{ author }}{% endblock %}
{% block content_title %}
-
Articles by {{ author }}
+ Articles by {{ author }}
{% endblock %}
diff --git a/templates/authors.html b/templates/authors.html
index 97a74572..9d68c972 100644
--- a/templates/authors.html
+++ b/templates/authors.html
@@ -3,7 +3,7 @@
{% block title %}{{ SITENAME|striptags }} - Authors{% endblock %}
{% block content %}
- Authors on {{ SITENAME }}
+ Authors on {{ SITENAME }}
{% for author, articles in authors|sort %}
- {{ author }} ({{ articles|count }})
diff --git a/templates/categories.html b/templates/categories.html
index fc7246b3..1482ebd6 100644
--- a/templates/categories.html
+++ b/templates/categories.html
@@ -4,7 +4,7 @@
{% block content %}
-
Blog categories
+
Blog categories
{% for category, articles in categories|sort %}
- {{ category }} ({{ articles|count }})
diff --git a/templates/category.html b/templates/category.html
index 2cb03291..b73b635e 100644
--- a/templates/category.html
+++ b/templates/category.html
@@ -3,5 +3,5 @@
{% block title %}{{ SITENAME|striptags }} - {{ category }} category{% endblock %}
{% block content_title %}
-Tales from the {{ category }} department
+Tales from the {{ category }} department
{% endblock %}
diff --git a/templates/index.html b/templates/index.html
index c2441e03..dcdd4cbc 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
{% block content_title %}
- Recent blog posts
+ Recent blog posts
{% endblock %}
@@ -12,8 +12,8 @@
diff --git a/templates/page.html b/templates/page.html
index 791ae288..3d795423 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -9,7 +9,7 @@
{% block content %}
-
{{ page.title }}
+ {{ page.title }}
{{ page.content }}
diff --git a/templates/tag.html b/templates/tag.html
index 9654e991..c34a7b33 100644
--- a/templates/tag.html
+++ b/templates/tag.html
@@ -3,5 +3,5 @@
{% block title %}{{ SITENAME|striptags }} - {{ tag }} tag{% endblock %}
{% block content_title %}
-
Tales tagged with {{ tag }}
+
Tales tagged with {{ tag }}
{% endblock %}
diff --git a/templates/tags.html b/templates/tags.html
index b21e5b52..52d30b56 100644
--- a/templates/tags.html
+++ b/templates/tags.html
@@ -3,7 +3,7 @@
{% block title %}{{ SITENAME|striptags }} - Tags{% endblock %}
{% block content %}
-
Tags for {{ SITENAME }}
+
Tags for {{ SITENAME }}
{% for tag, articles in tags|sort %}
- {{ tag }} ({{ articles|count }})