summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-16 21:27:55 -0700
committerAndrew Godwin2022-12-16 21:27:55 -0700
commit23a3f7e9d2d9f149e6f9aab1f122d40825e9014d (patch)
tree369f48825c70b5a7049ecf557232a47a3f6419e8
parenta7d389020a00a9c75281d66cdaf6a5e12b3dc2ba (diff)
downloadtakahe-23a3f7e9d2d9f149e6f9aab1f122d40825e9014d.tar.gz
takahe-23a3f7e9d2d9f149e6f9aab1f122d40825e9014d.tar.bz2
takahe-23a3f7e9d2d9f149e6f9aab1f122d40825e9014d.zip
Flatpage styling
-rw-r--r--static/css/style.css10
-rw-r--r--templates/flatpage.html2
2 files changed, 12 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index aa68280..aec9d4a 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -345,6 +345,16 @@ img.emoji {
height: 0.8em;
}
+/* Generic markdown styling */
+
+.markdown p {
+ margin: 4px 0 10px 0;
+}
+
+.markdown li {
+ margin: 4px 0 10px 0;
+}
+
/* Icon menus */
.icon-menu .option {
diff --git a/templates/flatpage.html b/templates/flatpage.html
index b24a6b8..e547962 100644
--- a/templates/flatpage.html
+++ b/templates/flatpage.html
@@ -4,5 +4,7 @@
{% block content %}
<h1>{{ title }}</h1>
+ <div class="markdown">
{{ content }}
+ </div>
{% endblock %}