summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2023-03-17 00:07:30 +0800
committerGitHub <noreply@github.com>2023-03-17 00:07:30 +0800
commit75dcf4616a53244139d6fd509b5b3d257aee1851 (patch)
tree06bfd13cd8dec5c01491ad875df5085f5ae02066
parent62e733ba59e334370b0ad36e599c31e7747fb84d (diff)
parent36689bdcebc96c83ad050f1b26cac6b12c5f47a8 (diff)
Merge pull request #21 from Forev3rNAlway5/patch-2
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 bb2b8e5..ba3e412 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
+}