From 6209453817da9922f28bac1bb1522c6d380630ab Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 19 Nov 2022 14:23:32 +0900 Subject: Hugo to Asciidoctor --- public/custom.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 public/custom.css (limited to 'public/custom.css') diff --git a/public/custom.css b/public/custom.css new file mode 100644 index 0000000..d3b1672 --- /dev/null +++ b/public/custom.css @@ -0,0 +1,29 @@ +/* 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 h2::before { content: '#'; } +.post-content h3::before { content: '##'; } +.post-content h4::before { content: '###'; } +.post-content h5::before { content: '####'; } +.post-content h6::before { content: '#####'; } + +li.revision { + list-style: inside; +} -- cgit v1.2.3-70-g09d2