MediaWiki:Common.css: Difference between revisions
From Unreal Tournament 2004 MiA Wiki
Created page with "→Adds space between list items without affecting line height: .mw-parser-output ul li, .mw-parser-output ol li { margin-bottom: 0.8em; →Adjust this value for more or less space: } →Optional: Removes the extra gap from the very last item in a list: .mw-parser-output ul li:last-child, .mw-parser-output ol li:last-child { margin-bottom: 0; }" |
mNo edit summary Tag: Manual revert |
||
| (One intermediate revision by the same user not shown) | |||
(No difference)
| |||
Latest revision as of 17:15, 19 February 2026
/* Adds space between list items without affecting line height */
.mw-parser-output ul li,
.mw-parser-output ol li {
margin-bottom: 0.8em; /* Adjust this value for more or less space */
}
/* Optional: Removes the extra gap from the very last item in a list */
.mw-parser-output ul li:last-child,
.mw-parser-output ol li:last-child {
margin-bottom: 0;
}
