summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForev3rNAlway5 <14688720+Forev3rNAlway5@users.noreply.github.com>2023-03-10 16:01:31 +0800
committerGitHub <noreply@github.com>2023-03-10 16:01:31 +0800
commit36689bdcebc96c83ad050f1b26cac6b12c5f47a8 (patch)
treeb263be1a5b6f9573d1df827847db3e02e2d17ba8
parentbe8ad30eb6d76c88d9fbdf0df9723834d3a66695 (diff)
Fix: 修复列表样式显示不正常
-rw-r--r--assets/matcha/matcha.post.css22
1 files changed, 9 insertions, 13 deletions
diff --git a/assets/matcha/matcha.post.css b/assets/matcha/matcha.post.css
index bd5aeeb..6894771 100644
--- a/assets/matcha/matcha.post.css
+++ b/assets/matcha/matcha.post.css
@@ -180,27 +180,23 @@
padding-left: 1.2em!important
}
-.post-content ul li,
-.comment-content ul li {
+.post-content ul,
+.comment-content ul {
list-style-type: square
}
-.post-content ol li,
-.comment-content ol li {
+.post-content ol,
+.comment-content ol {
list-style-type: decimal
}
-.post-content ul>ul li,
-.post-content ol>ul li,
-.comment-content ul>ul li,
-.comment-content ol>ul li {
+.post-content li ul,
+.comment-content li ul {
list-style-type: disc
}
-.post-content ol>ol li,
-.post-content ul>ol li,
-.comment-content ol>ol li,
-.comment-content ul>ol li {
+.post-content li ol,
+.comment-content li ol {
list-style-type: lower-roman
}
@@ -689,4 +685,4 @@
font-size: .9em;
margin-right: .12em;
color: var(--gray-bg)
-} \ No newline at end of file
+}