Template:Reflist/styles.css: Difference between revisions
Jump to navigation
Jump to search
MediaWiki>RogueScholar Enable use of other list-style types than only decimal and lower-alpha for references |
m 1 revision imported |
(No difference)
| |
Latest revision as of 14:20, 10 October 2025
.reflist {
list-style-type: decimal;
margin-bottom: 0.5em;
}
@media screen {
.reflist {
font-size: 0.9em; /* Make default font smaller only on screens. */
}
}
.reflist .references {
font-size: 1em; /* Reset font size when nested in reflist. */
list-style-type: inherit; /* Enable custom list-style types. */
margin-bottom: 0; /* Avoid double margin when nested in reflist. */
}
.reflist-columns {
margin-top: 0.3em; /* Reset top margin for column-embedded lists. */
}
.reflist-columns ol {
margin-top: 0;
}
.reflist-columns li {
break-inside: avoid-column; /* Avoid elements breaking between columns. */
}
.reflist-upper-alpha {
list-style-type: upper-alpha;
}
.reflist-upper-roman {
list-style-type: upper-roman;
}
.reflist-lower-alpha {
list-style-type: lower-alpha;
}
.reflist-lower-greek {
list-style-type: lower-greek;
}
.reflist-lower-roman {
list-style-type: lower-roman;
}