diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-09-12 22:29:25 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-09-12 22:29:25 +0700 |
commit | 1574d29ca0241c88ceadd6d93cf98cab82a10f1e (patch) | |
tree | 5990ac5d17417cee753e257e501f656a048b64b9 | |
parent | a6d2f927d3311fb0f5b686a3c868a57eb4468828 (diff) | |
download | blog-1574d29ca0241c88ceadd6d93cf98cab82a10f1e.tar.gz |
Update heading styling
-rw-r--r-- | layouts/partials/head-extra.html | 2 | ||||
-rw-r--r-- | 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 @@ -<link rel="stylesheet" href={{ "/css/custom.css?v=20210826-2" }}> +<link rel="stylesheet" href={{ "/css/custom.css?v=20210912" }}> <link rel="apple-touch-icon" sizes="180x180" href={{ "/apple-touch-icon.png" }}> <link rel="icon" type="image/png" sizes="32x32" href={{ "/favicon-32x32.png" }}> <link rel="icon" type="image/png" sizes="16x16" href={{ "/favicon-16x16.png" }}> 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 { |