Jump to content

Template:Contents topic list/styles.css

From Wikipedia, the free encyclopedia
.content-list > ul > li {
	margin-top: 4px;
}

.content-list > ul > li:first-child {
	margin-top: 0;
}

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

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

.content-list > ul {
	padding-left: 3em;
	text-indent: -3em;
}

.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-inline-ul::before {
	content: ' (';
}

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