instead of using 'header' styles by default and change everything else, it's now switched around: default are non-header styles, only 'absatz'-ul's are styled separately
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 1m6s

This commit is contained in:
philipp 2024-02-19 19:24:12 +01:00
parent d826735306
commit 2bc5cb6014
2 changed files with 6 additions and 4 deletions

View File

@ -21,9 +21,11 @@ fn print_content(content: Content) -> String {
ret.push_str("</ul>");
}
Content::Multi(l) => {
ret.push_str("<div class='multi'>");
for item in l {
ret.push_str(&print_content(item));
}
ret.push_str("</div>");
}
}

View File

@ -95,21 +95,21 @@ details summary {
line-height: unset;
}
ul {
.par > ul {
margin: var(--pico-spacing) 0;
padding: 0;
}
ul > li {
.par > ul > li {
list-style: none;
margin: 1rem 0;
}
ul > ul {
ul {
padding: 0 2rem;
}
ul > ul > li {
li {
list-style: square;
}