MediaWiki:Common.css: Difference between revisions
From Unreal Tournament 2004 MiA Wiki
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
| Line 2: | Line 2: | ||
.mw-parser-output ul li, | .mw-parser-output ul li, | ||
.mw-parser-output ol li { | .mw-parser-output ol li { | ||
margin-bottom: | margin-bottom: 0.8em; /* Adjust this value for more or less space */ | ||
} | } | ||
| Line 8: | Line 8: | ||
.mw-parser-output ul li:last-child, | .mw-parser-output ul li:last-child, | ||
.mw-parser-output ol li:last-child { | .mw-parser-output ol li:last-child { | ||
margin-bottom: | margin-bottom: 0; | ||
} | } | ||
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;
}
