mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 01:22:23 -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;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
#step-toc{
|
.step-by-step-guide details{
|
||||||
padding: 1.0em 0;
|
padding: 1.0em 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
counter-reset: css-counter 0;
|
counter-reset: toc 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-by-step-guide summary{
|
.step-by-step-guide summary{
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
/* fake H2 styling: */
|
/* reproduce H2 styling: */
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
font-family: "League Spartan", Arial, sans-serif;
|
font-family: "League Spartan", Arial, sans-serif;
|
||||||
margin-top: 4rem;
|
margin-top: 4rem;
|
||||||
|
@ -346,12 +346,12 @@ code.full .utf{
|
||||||
list-style-position: outside;
|
list-style-position: outside;
|
||||||
}
|
}
|
||||||
|
|
||||||
#step-toc p{
|
.step-by-step-guide details p {
|
||||||
counter-increment: css-counter 1;
|
counter-increment: toc 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#step-toc p:before{
|
.step-by-step-guide details p::before{
|
||||||
content: counter(css-counter) ". ";
|
content: counter(toc) ". ";
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert p.warning{
|
.alert p.warning{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue