MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 110: | Line 110: | ||
div.deldotreport ol { | div.deldotreport ol { | ||
counter-reset: report-subsection; | counter-reset: report-subsection; | ||
counter-increment: report-section; | |||
list-style-type: upper-roman; | list-style-type: upper-roman; | ||
} | } | ||
Revision as of 18:06, 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 */
div.deldotreport{
counter-reset: report-section;
}
div.deldotreport ol {
counter-reset: report-subsection;
counter-increment: report-section;
list-style-type: upper-roman;
}
div.deldotreport ol ol {
list-style-type: none;
}
div.deldotreport ol ol::before {
counter-increment: report-subsection;
content: counter(report-section) "." counter(report-subsection) " ";
}
div.deldotreport ol ol ol {
list-style-type: lower-roman;
}