Added nested list support

This commit is contained in:
Sodbileg Gansukh
2023-06-28 18:25:13 +08:00
parent fa76f77006
commit d75ffc78ac
9 changed files with 28 additions and 18 deletions

View File

@ -88,10 +88,6 @@ video {
body {
line-height: 1;
}
ol,
ul {
list-style: none;
}
blockquote,
q {
quotes: none;
@ -346,14 +342,6 @@ ol ul {
margin: 0.5em 0 1em;
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
ul,
ol {
max-width: 100%;

View File

@ -1479,6 +1479,18 @@ is the very first element in the post content */
box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
}
.gh-content .kg-nested-list-item {
list-style-type: none;
}
.gh-content ol ol li {
list-style-type: lower-alpha;
}
.gh-content ol ol ol li {
list-style-type: lower-roman;
}
@media (max-width: 650px) {
.gh-content > blockquote:not([class]),
.gh-content > ol,