Jump to content

Template:Contents topic list/styles.css

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by BrandonXLF (talk | contribs) at 08:24, 18 April 2024 (Created page with '.content-list { padding-left: 1.5em; text-indent: -1.5em; } .content-list ul { margin: 0; padding: 0; } .content-list ul ul { display: inline; } .content-list li { display: inline; } .content-list .content-sublist { display: block; margin-left: 1.5em; } .content-list > ul > .content-sublist { margin-left: 0; } .content-list li::before { content: " · "; font-weight: bold; } .content-list li:first-child::before, .content-list .content-subli...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
.content-list {
	padding-left: 1.5em;
	text-indent: -1.5em;
}

.content-list ul {
	margin: 0;
	padding: 0;
}

.content-list ul ul {
	display: inline;
}

.content-list li {
	display: inline;
}

.content-list .content-sublist {
	display: block;
	margin-left: 1.5em;
}

.content-list > ul > .content-sublist {
	margin-left: 0;
}

.content-list li::before {
	content: " · ";
	font-weight: bold;
}

.content-list li:first-child::before,
.content-list .content-sublist:before {
	content: none;
}

.content-list-inline + ul::before {
	content: '(';
}

.content-list-inline + ul::after {
	content: ')';
}