Template talk:Reflist/styles.css
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
Reduce left margin in infoboxes[edit]
To make reflists more compact within infoboxes (e.g., in the Super Mario Odyssey article), we could reduce the left margin of the references list with this CSS rule:
.infobox .reflist .references {
margin-left: 2em;
}
Jdtendo(T|C) 11:17, December 28, 2025 (EST)
- Infoboxes should just use the footnotes section at the bottom of the page. Just like how infobox references go to the bottom of the page as well. --Steve (talk)
11:43, December 28, 2025 (EST)
Text alignment[edit]
Sometimes, reflists are used in contexts where the text is centered, which makes the reflist looks weird: the list item marker stays on the left but the text content is centered.
- ^ This footnote is part of centered text.
To avoid that, I put such reflists in a div with forced text alignment, but it would be cleaner if the reflist could automatically stay aligned to the left, for example with a rule like this:
.reflist {
text-align: start;
}