Template:Clade/styles.css: Difference between revisions

From PavHaki Wiki
(Created page with "→‎{{pp-template}}: table.clade { border-spacing:0; margin:0; font-size:100%; line-height:100%; border-collapse:separate; width:auto; } table.clade t...")
 
No edit summary
Line 1: Line 1:
/* {{pp-template}} */
table.clade {
table.clade {
     border-spacing:0;
     border-spacing:0;

Revision as of 16:23, 12 April 2019

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;

}