Jump to content

Template:Plainlist/styles.css: Difference between revisions

From ARC Technical Repository
source>CalendulaAsteraceae
m Protected "Template:Plainlist/styles.css": High traffic page or template/module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
m 1 revision imported
Line 1: Line 1:
/**
/* {{pp-template|small=yes}} */
* Styles for lists in general.
.plainlist ol,
*
.plainlist ul {
* @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;
line-height: inherit;
list-style: none;
list-style: none;
}
margin: 0;
padding: 0; /* Reset Minerva default */
/* Don't indent the first level */
.plainlist > ul,
.wst-plainlist > ul {
margin-left: 0;
}
}


/* Lower levels suppress the top/bottom margins */
.plainlist ol li,
.plainlist ul ul,
.plainlist ul li {
.wst-plainlist ul ul {
margin-top: 0;
margin-bottom: 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_hi1 ul:nth-of-type(1) li:nth-of-type(1) {
    margin-left: 1em;
    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;
}
}

Revision as of 06:45, 24 April 2026

/* {{pp-template|small=yes}} */
.plainlist ol,
.plainlist ul {
	line-height: inherit;
	list-style: none;
	margin: 0;
	padding: 0; /* Reset Minerva default */
}

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