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 --- layouts/partials/head-extra.html | 2 +- static/css/custom.css | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/layouts/partials/head-extra.html b/layouts/partials/head-extra.html index 373f8cd..71a7579 100644 --- a/layouts/partials/head-extra.html +++ b/layouts/partials/head-extra.html @@ -1,4 +1,4 @@ - + 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