Шаблон:Tree list/styles.css

Материал из Википедии — свободной энциклопедии
Перейти к навигации Перейти к поиску
.ts-tree_list ul {
	padding: 0;
	margin: 0;
}
.ts-tree_list li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}
.ts-tree_list li li {
	background: url("https://upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
	/* @noflip */
	padding-left: 21px;
	text-indent: 0.3em;
}
.ts-tree_list li li:last-child {
	background-position: 0 -5971px
}
/* first line here deals with new situation after RemexHTML switch,
 * where emptyline cause the first child to become the 2nd child. Such a mess
 */
.ts-tree_list li.ts-tree_list-emptyline > ul > .mw-empty-elt:first-child + .ts-tree_list-emptyline,
.ts-tree_list li.ts-tree_list-emptyline > ul > li:first-child {
	background-position: 0 9px
}

/* [[Категория:Шаблоны:Подстраницы CSS]] */