Vorlage:Stammbaumliste/styles.css
Zur Navigation springen
Zur Suche springen
/* [[:en:Template:Tree list/styles.css]] */
.treeview ol,
.treeview ul {
padding: 0;
margin: 0;
}
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
}
.treeview ol > li {
list-style-type: decimal;
list-style-position: inside;
padding-left: 36px;
text-indent: -0.8em;
}
.treeview ul > li {
padding-left: 30px;
text-indent: -0.4em;
}
.treeview ul > li div,
.treeview ol > li div {
padding: 0.3em;
margin-bottom: 0.2em;
text-indent: 0;
}
.treeview ol > li > ul > li::before {
content: '…';
}
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/8/86/Treeview-child.png") no-repeat 0 -10px;
}
.treeview li li:last-child {
background: url("//upload.wikimedia.org/wikipedia/commons/e/e6/Treeview-bottom-child.png") no-repeat 0 -28px;
}
.treeview div {
border: solid gray;
margin: 0;
padding: 0.3em;
display: inline-block;
font-size: 14px;
}
.horrizontalBranch div {
display: block;
position: absolute;
text-align: center;
transform: translate(-50%,0);
}
.horrizontalBranch {
position: relative;
margin: 1em;
}
.treeview table {
position:absolute;
border-collapse:collapse;
margin:0;
}