Jump to content

Template:Tree list/styles.css

From the Vrienden Universe, a fictional wiki
Revision as of 15:44, 13 September 2026 by VU-MaintenanceBot (talk | contribs) (Replace external tree image with local CSS connectors)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
.treeview ul {
	padding: 0;
	margin: 0;
}

.treeview li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}

.treeview li li {
	position: relative;
	/* @noflip */
	padding-left: 21px;
	text-indent: 0.3em;
}

.treeview li li::before {
	position: absolute;
	top: -0.7em;
	bottom: 50%;
	left: 0;
	width: 12px;
	border-bottom: 1px solid #a2a9b1;
	border-left: 1px solid #a2a9b1;
	content: "";
}

.treeview li li:not(:last-child)::after {
	position: absolute;
	top: 50%;
	bottom: -0.7em;
	left: 0;
	border-left: 1px solid #a2a9b1;
	content: "";
}