summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrefetch2019-06-09 22:33:44 +0200
committerPrefetch2019-06-09 22:33:44 +0200
commit2dacb951ee001f8fdf4e2b37e2060f6c74841c9f (patch)
tree54a56a2a30c6bda5e83cec775aba19e1ef3cc2f5
parentda0b1ae00b2dc52e6baa2e7a3f96b622fc1f2315 (diff)
Improve heading generation
-rw-r--r--content/software/recommended.md2
-rw-r--r--static/main.css4
-rw-r--r--templates/page.html1
3 files changed, 6 insertions, 1 deletions
diff --git a/content/software/recommended.md b/content/software/recommended.md
index 3adcc25..e3efd37 100644
--- a/content/software/recommended.md
+++ b/content/software/recommended.md
@@ -2,6 +2,8 @@
title = "Recommended software"
+++
+# Recommended software
+
* [Arch Linux](https://www.archlinux.org/),
the no-nonsense Linux distribution. It's not perfect,
but it has the best reward-to-effort ratio for me.
diff --git a/static/main.css b/static/main.css
index 0394165..b79aef8 100644
--- a/static/main.css
+++ b/static/main.css
@@ -12,6 +12,10 @@ a {
color:#61afef;
}
+h1 { font-size:2rem; }
+h2 { font-size:1.5rem; }
+h3 { font-size:1rem; }
+
.content { min-height: calc(100vh - 20ch); }
.navbar a:link { color:#abb2bf; }
diff --git a/templates/page.html b/templates/page.html
index ce0155e..8058656 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -3,6 +3,5 @@
{{ config.title }} | {{ page.title }}
{% endblock title %}
{% block content %}
- <center><h3> {{ page.title }} </h3></center>
{{ page.content | safe }}
{% endblock content %}