about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-05-29 15:46:16 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-05-29 15:46:16 +0700
commit2bdf0a1b7b3716f7dcf6d85ae52127089003ca14 (patch)
treeea87b2eda6cbbc50627ad4096702577d92dc5dcc /static
parent19eb05719631a60caa3d813d4a382820fe6c1e2a (diff)
downloadblog-2bdf0a1b7b3716f7dcf6d85ae52127089003ca14.tar.gz
Add heading prefixes for better visual distinction
Diffstat (limited to 'static')
-rw-r--r--static/css/custom.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 066803e..32ca682 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -66,3 +66,18 @@ dl dt {
 dl dd {
   text-indent: 1em;
 }
+
+div.content h1::before {
+  content: '# ';
+  color: gray;
+}
+
+div.content h2::before {
+  content: '## ';
+  color: gray;
+}
+
+div.content h3::before {
+  content: '### ';
+  color: gray;
+}