Template:Tree list/styles.css: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with "→‎{{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 { /...")
 
(Test)
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
.treeview ul {
table.ahnentafel {
padding: 0;
border-collapse: separate;
margin: 0;
border-spacing: 0;
line-height: 130%;
}
}
.treeview li {
.ahnentafel tr {
padding: 0;
text-align:center;
margin: 0;
list-style-type: none;
list-style-image: none;
}
}
.treeview li li {
.ahnentafel-t {
/* @noflip */
border-top:#000 solid 1px;  
padding-left: 21px;
border-left:#000 solid 1px;
text-indent: 0.3em;
}
}
.treeview li li:last-child {
.ahnentafel-b {
background-position: 0 -5971px
border-bottom:#000 solid 1px;
}
border-left:#000 solid 1px;
/* first line here deals with new situation after RemexHTML switch,
* where emptyline cause the first child to become the 2nd child. Such a mess
*/
.treeview li.emptyline > ul > .mw-empty-elt:first-child + .emptyline,
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px
}
}

Revision as of 13:18, 14 October 2021

/* {{pp-template}} */
table.ahnentafel {
	border-collapse: separate;
	border-spacing: 0;
	line-height: 130%;
}
.ahnentafel tr {
	text-align:center;
}
.ahnentafel-t {
	border-top:#000 solid 1px; 
	border-left:#000 solid 1px;
}
.ahnentafel-b {
	border-bottom:#000 solid 1px;
	border-left:#000 solid 1px;
}