summaryrefslogtreecommitdiffstats
path: root/assets/css/main/post.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/main/post.css')
-rw-r--r--assets/css/main/post.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/assets/css/main/post.css b/assets/css/main/post.css
index 5dc5a95..5520a93 100644
--- a/assets/css/main/post.css
+++ b/assets/css/main/post.css
@@ -444,3 +444,28 @@
.post-item-content{
padding: 0 35px 10px 35px;
}
+
+/* 文章目录 **/
+
+.toc-box {
+ border: 1px solid #ddd;
+ background: rgb(245,245,245);
+ padding: 1em 2em;
+ border-radius: .2em
+}
+
+.toc-level-3 {
+ margin-left: 1em;
+}
+
+.toc-level-4 {
+ margin-left: 2em;
+}
+
+.toc-level-5 {
+ margin-left: 3em;
+}
+
+.toc-level-6 {
+ margin-left: 4em;
+} \ No newline at end of file