Difference between revisions of "Template:Clade/styles.css"
Jump to navigation
Jump to search
imported>Jts1882 (create styles.css for templatestyles version of template and module) |
imported>Jts1882 (better default) |
||
| Line 13: | Line 13: | ||
border:0; | border:0; | ||
padding:0; | padding:0; | ||
| − | vertical-align: | + | vertical-align:middle; |
text-align:center; | text-align:center; | ||
} | } | ||
| Line 39: | Line 39: | ||
padding:0; | padding:0; | ||
text-align:left; | text-align:left; | ||
| + | vertical-align:middle; | ||
} | } | ||
table.clade td.clade-leafR { /* the cell with the leaf content (rowspan=2) */ | table.clade td.clade-leafR { /* the cell with the leaf content (rowspan=2) */ | ||
Revision as of 08:34, 1 August 2018
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;
}