Template:Plainlist/styles.css

/** * Styles for lists in general. * * @last revised (2013-04-26) * *  * Migrated from https://en.wikisource.org/w/index.php?title=MediaWiki:Gadget-enwp-lists.css&oldid=6080813 * (https://en.wikisource.org/w/index.php?title=MediaWiki:Gadget-enwp-lists.css&action=history) **/ /* Unbulleted lists */ .plainlist ul, .wst-plainlist ul { line-height: inherit; list-style: none; } /* Don't indent the first level */ .plainlist > ul, .wst-plainlist > ul { margin-left: 0; }

/* Lower levels suppress the top/bottom margins */ .plainlist ul ul, .wst-plainlist ul ul { margin-top: 0; margin-bottom: 0; }

.plainlist ul li, .wst-plainlist ul li { margin-bottom: 0; }

.wst-plainlist_hi1 li { margin-left: 1em; text-indent: -1em; }

.wst-plainlist_hi2 li { margin-left: 2em; text-indent: -2em; }

.wst-plainlist_hi4 li { margin-left: 4em; text-indent: -4em; }

/* first item of "mid" templates has no indent */ .wst-plainlist_m ul:first-child li:first-child { text-indent: 0; }

.wst-plainlist_m.wst-plainlist_hi2 ul:nth-of-type(1) li:nth-of-type(1) { margin-left: 2em; text-indent: 0; }

.wst-plainlist_m.wst-plainlist_hi4 ul:nth-of-type(1) li:nth-of-type(1) { margin-left: 4em; text-indent: 0; }