MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 109: | Line 109: | ||
} | } | ||
.deldotreport ol { | .deldotreport ol li > ol { | ||
counter-reset: section; | counter-reset: section; | ||
list-style-type: none; | list-style-type: none; | ||
} | } | ||
.deldotreport li::before { | .deldotreport ol li > ol li::before { | ||
counter-increment: section; | counter-increment: section; | ||
content: counters(section,".") " "; | content: counters(section,".") " "; | ||
} | } | ||
Revision as of 18:52, 10 October 2022
/* CSS placed here will be applied to all skins */
.tocnumber {
display:none
}
div ol {
list-style-type:decimal
}
div ol ol {
list-style-type:lower-alpha
}
div ol ol ol {
list-style-type:lower-roman
}
div ol ol ol ol {
list-style-type:disc
}
div ol ol ol ol ol {
list-style:none
}
div.alpha_list ol {
list-style-type:lower-alpha
}
div.alpha_list ol ol {
list-style-type:lower-roman
}
div.alpha_list ol ol ol {
list-style-type:decimal
}
div.alpha_list ol ol ol ol {
list-style-type:disc
}
div.alpha_list ol ol ol ol ol {
list-style:none
}
div#mydiv ol ol ol ol {
list-style-type:decimal
}
div ol ol ol ol ol > li {
counter-increment:section
}
div ol ol ol ol ol > li:before {
content: "(" counter(section, decimal) ") "
}
div ol ol ol ol ol ol {
list-style:none;
margin:0;
padding:0
}
div ol ol ol ol ol ol > li {
counter-increment:subsection
}
div ol ol ol ol ol ol > li:before {
content:counter(subsection, disc)" "
}
h2 {
color:#fe9901;
font-size:48px;
font-style:bold;
border:none;
} /* (xxx.x) */
h3 {
font-size:16p;
font-style:bold;
} /* (xxx.x.x) */
h4 {
font-size:16p;
font-style:italic;
} /* (xxx.x.x.x) */
h5 {
font-size:14p;
font-style:none;
} /* (xxx.x.x.x.x) */
h6 {
font-size:14p;
font-style:italic;
} /* (xxx.x.x.x.x.x) */
.mw-body-content p {
margin: 0.75em 0;
}
/* List styling for reports */
.deldotreport>ol {
list-style-type: upper-roman;
}
.deldotreport ol li > ol {
counter-reset: section;
list-style-type: none;
}
.deldotreport ol li > ol li::before {
counter-increment: section;
content: counters(section,".") " ";
}