mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Modify Step guid ToC css: use class selector
This commit is contained in:
parent
01bd373914
commit
ed40d7ef0c
1 changed files with 7 additions and 7 deletions
|
@ -328,15 +328,15 @@ code.full .utf{
|
|||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#step-toc{
|
||||
.step-by-step-guide details{
|
||||
padding: 1.0em 0;
|
||||
list-style-type: none;
|
||||
counter-reset: css-counter 0;
|
||||
counter-reset: toc 0;
|
||||
}
|
||||
|
||||
.step-by-step-guide summary{
|
||||
cursor: pointer;
|
||||
/* fake H2 styling: */
|
||||
/* reproduce H2 styling: */
|
||||
font-size: 1.4rem;
|
||||
font-family: "League Spartan", Arial, sans-serif;
|
||||
margin-top: 4rem;
|
||||
|
@ -346,12 +346,12 @@ code.full .utf{
|
|||
list-style-position: outside;
|
||||
}
|
||||
|
||||
#step-toc p{
|
||||
counter-increment: css-counter 1;
|
||||
.step-by-step-guide details p {
|
||||
counter-increment: toc 1;
|
||||
}
|
||||
|
||||
#step-toc p:before{
|
||||
content: counter(css-counter) ". ";
|
||||
.step-by-step-guide details p::before{
|
||||
content: counter(toc) ". ";
|
||||
}
|
||||
|
||||
.alert p.warning{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue