Hopp til innhold

Mal:Treliste/stil.css

Fra Wikipedia, den frie encyklopedi
/*
	Adaptations for local version of treeview
	This is NOT the same as treeview in enwiki
*/
.treeview + ul,
.treeview + ul ul {
	padding: 0;
	margin: 0;
}
.treeview + ul li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}
.treeview + ul li li {
	background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
	padding-left: 20px;
	text-indent: 0.3em;
}
.treeview + ul li li:last-child {
	background-position: 0 -5971px;
}
.treeview + ul .anon-branch {
	display:none;
}
.treeview + ul li > .anon-branch + ul {
	margin-left: -1px;
} 
.treeview + ul li > .anon-branch + ul > li:first-child {
	background-position: 0 9px;
}