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
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 1m6s
This commit is contained in:
parent
d826735306
commit
2bc5cb6014
@ -21,9 +21,11 @@ fn print_content(content: Content) -> String {
|
|||||||
ret.push_str("</ul>");
|
ret.push_str("</ul>");
|
||||||
}
|
}
|
||||||
Content::Multi(l) => {
|
Content::Multi(l) => {
|
||||||
|
ret.push_str("<div class='multi'>");
|
||||||
for item in l {
|
for item in l {
|
||||||
ret.push_str(&print_content(item));
|
ret.push_str(&print_content(item));
|
||||||
}
|
}
|
||||||
|
ret.push_str("</div>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,21 +95,21 @@ details summary {
|
|||||||
line-height: unset;
|
line-height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
.par > ul {
|
||||||
margin: var(--pico-spacing) 0;
|
margin: var(--pico-spacing) 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul > li {
|
.par > ul > li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul > ul {
|
ul {
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul > ul > li {
|
li {
|
||||||
list-style: square;
|
list-style: square;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user