From 1574d29ca0241c88ceadd6d93cf98cab82a10f1e Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sun, 12 Sep 2021 22:29:25 +0700 Subject: Update heading styling --- static/css/custom.css | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'static/css') diff --git a/static/css/custom.css b/static/css/custom.css index 82292b2..4baab30 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -64,21 +64,36 @@ dl dd { text-indent: 1em; } -div.content h1::before { +h1::before { content: '# '; color: gray; } -div.content h2::before { +h2::before { content: '## '; color: gray; } -div.content h3::before { +h3::before { content: '### '; color: gray; } +h4::before { + content: '#### ' + color: gray; +} + +h5::before { + content: '##### ' + color: gray; +} + +h6::before { + content: '###### ' + color: gray; +} + /* Book data format */ dl.data { -- cgit 1.4.1