MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Amwelladmin (talk | contribs) No edit summary |
Amwelladmin (talk | contribs) No edit summary |
||
Line 45: | Line 45: | ||
max-width:100%; | max-width:100%; | ||
height:auto; | height:auto; | ||
} | |||
/* Autonumbering paragraphs */ | |||
ol { | |||
counter-reset: number; | |||
list-style-position: outside; | |||
text-align: left; | |||
counter-reset: list; | |||
font-family: georgia; | |||
} | |||
ol > li { | |||
list-style: none; | |||
counter-increment: list; | |||
margin-bottom: 6px; | |||
} | |||
ol.decimal > li::before { | |||
content: counter(list); | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | |||
ol.doubledecimal > li::before { | |||
content: counters(list, "."); | |||
counter-increment: 1; | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | |||
ol.lower-alpha > li::before { | |||
content: "(" counter(list, lower-alpha) ") "; | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | |||
ol.lower-roman > li::before { | |||
content: "(" counter(list, lower-roman) ") "; | |||
vertical-align: left; | |||
position: absolute; | |||
margin-left: -1.1cm; | |||
} | } |