aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/custom.css
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-11-19 14:23:32 +0900
committernsfisis <nsfisis@gmail.com>2022-11-19 14:25:59 +0900
commit6209453817da9922f28bac1bb1522c6d380630ab (patch)
tree19e0699e751af387d549d6720ca215c8065b3c0c /static/custom.css
parent0cafa073914b5e0b162b735a7f8445fb2aa8a604 (diff)
downloadblog.nsfisis.dev-6209453817da9922f28bac1bb1522c6d380630ab.tar.gz
blog.nsfisis.dev-6209453817da9922f28bac1bb1522c6d380630ab.tar.zst
blog.nsfisis.dev-6209453817da9922f28bac1bb1522c6d380630ab.zip
Hugo to Asciidoctor
Diffstat (limited to 'static/custom.css')
-rw-r--r--static/custom.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/static/custom.css b/static/custom.css
new file mode 100644
index 0000000..d3b1672
--- /dev/null
+++ b/static/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;
+}