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: Reverted |
||
| 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: 10.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: 10; | ||
} | } | ||
Revision as of 17:13, 19 February 2026
/* Adds space between list items without affecting line height */
.mw-parser-output ul li,
.mw-parser-output ol li {
margin-bottom: 10.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: 10;
}
