aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/custom.css
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-04-23 23:49:57 +0900
committernsfisis <nsfisis@gmail.com>2022-04-23 23:49:57 +0900
commit13b78dc0d6b1795f77592be8c0d3212a0c63e173 (patch)
tree64e6b97c1f888013b3be27315f592093f9cc001d /docs/custom.css
parent470b6afdb02fbd87a09d526784dd19b30852a6a2 (diff)
downloadnsfisis.github.io-13b78dc0d6b1795f77592be8c0d3212a0c63e173.tar.gz
nsfisis.github.io-13b78dc0d6b1795f77592be8c0d3212a0c63e173.tar.zst
nsfisis.github.io-13b78dc0d6b1795f77592be8c0d3212a0c63e173.zip
regenerate
Diffstat (limited to 'docs/custom.css')
-rw-r--r--docs/custom.css27
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: '######'; }