diff options
Diffstat (limited to 'docs/custom.css')
| -rw-r--r-- | docs/custom.css | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/docs/custom.css b/docs/custom.css index a65d9b7..f492b95 100644 --- a/docs/custom.css +++ b/docs/custom.css @@ -1 +1,26 @@ -/* Place a custom css file in your own project to use this. */
\ No newline at end of file +/* Place a custom css file in your own project to use this. */ +.post-content h1, +.post-content h2, +.post-content h3, +.post-content h4, +.post-content h5, +.post-content h6 { + border-bottom: var(--primary) solid 1px; +} + +.post-content h1::before, +.post-content h2::before, +.post-content h3::before, +.post-content h4::before, +.post-content h5::before, +.post-content h6::before { + color: var(--secondary); + padding-right: 0.3rem; +} + +.post-content h1::before { content: '#'; } +.post-content h2::before { content: '##'; } +.post-content h3::before { content: '###'; } +.post-content h4::before { content: '####'; } +.post-content h5::before { content: '#####'; } +.post-content h6::before { content: '######'; } |
