Mal:Nummerering/style.css

Fra Wikipedia, den frie encyklopedi
/*
Style for changing list number system
© John Erling Blad, Creative Commons by Attribution 3.0
*/

/* this is for an ordinary list */
.following-list-style-type-lower-alpha + ol li { list-style-type:lower-alpha; }
.following-list-style-type-upper-alpha + ol li { list-style-type:upper-alpha; }
.following-list-style-type-lower-roman + ol li { list-style-type:lower-roman; }
.following-list-style-type-upper-roman + ol li { list-style-type:upper-roman; }
.following-list-style-type-decimal + ol li { list-style-type:decimal; }

/* this is for reference element */
/* the weight generated by the id is so high it seems like use of !important is the only overide that works */
.following-list-style-type-lower-alpha + .mw-references-wrap > ol.references li { list-style-type:lower-alpha !important; }
.following-list-style-type-upper-alpha + .mw-references-wrap > ol.references li { list-style-type:upper-alpha !important; }
.following-list-style-type-lower-roman + .mw-references-wrap > ol.references li { list-style-type:lower-roman !important; }
.following-list-style-type-upper-roman + .mw-references-wrap > ol.references li { list-style-type:upper-roman !important; }
.following-list-style-type-decimal + .mw-references-wrap > ol.references li { list-style-type:decimal !important; }