Add Step ToC rules to manual.css

This commit is contained in:
David 2022-12-31 15:52:52 +08:00 committed by Alex Cabal
parent 5f666c4997
commit 680a73bf91

View file

@ -328,6 +328,32 @@ code.full .utf{
text-transform: uppercase; text-transform: uppercase;
} }
#step-toc{
padding: 1.0em 0;
list-style-type: none;
counter-reset: css-counter 0;
}
.step-by-step-guide summary{
cursor: pointer;
/* fake H2 styling: */
font-size: 1.4rem;
font-family: "League Spartan", Arial, sans-serif;
margin-top: 4rem;
line-height: 1.2;
letter-spacing: 1px;
text-transform: uppercase;
list-style-position: outside;
}
#step-toc p{
counter-increment: css-counter 1;
}
#step-toc p:before{
content: counter(css-counter) ". ";
}
.alert p.warning{ .alert p.warning{
font-size: 2rem; font-size: 2rem;
font-weight: bold; font-weight: bold;