Template:Clade/styles.css

From PavHaki Wiki
Revision as of 17:29, 12 April 2019 by Unuvun Rain (talk | contribs) (Unuvun Rain changed the content model of the page Template:Clade/styles.css from "wikitext" to "Sanitized CSS")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
table.clade {
    border-spacing:0;
    margin:0;
    font-size:100%;
    line-height:100%;
    border-collapse:separate;
    width:auto;
}
table.clade table.clade {
    width:100%;
}
table.clade td { 
	border:0;
	padding:0;
	vertical-align:middle;
	text-align:center;
}	
table.clade td.clade-label {  /* the cell with the label */
    width:0.8em; /* was only used for first leaf but shouldn't matter for others */
    border:0;
    padding:0 0.2em;
    vertical-align:bottom;
    text-align:center;
}
table.clade td.clade-slabel {  /* the cell with the sublabel; only use if there is a label */
    border:0;
    padding:0 0.2em;
    vertical-align:top;
    text-align:center;
}
table.clade td.clade-bar {  /* the cell with the bar label or group label */
    vertical-align:middle;
    text-align:left;
    padding:0 0.5em;
}

table.clade td.clade-leaf {  /* the cell with the leaf content (rowspan=2) */
    border:0;
    padding:0;
    text-align:left;
    vertical-align:middle;
}
table.clade td.clade-leafR {  /* the cell with the leaf content (rowspan=2) */
    border:0;
    padding:0;
    text-align:right;
}