User:Deltaneos/cardtable.css

/* Copied from User:Dinoguy1000/cardtable.cs.

Not using importStylesheet, so I can poke around at it */

/* cardtable styles */ table.cardtable { width: 98%; margin: auto; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .cardtable th, .cardtable td { border: 1px #aaa solid; padding: 0.2em; } .cardtable th { text-align: center; } .cardtable .cardtable-cardimage { max-width: 400px; padding: 0; vertical-align: top; } .cardtable .cardtable-cardimage img { max-width: 400px; margin: 0; }

/* try to "reset" the Navbox styles */ .cardtable table.navbox {           /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } .cardtable .navbox-title, .cardtable .navbox-abovebelow, .cardtable table.navbox th { text-align: center;     /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } .cardtable .navbox-group {           /* Group style */ white-space: nowrap; text-align: right; font-weight: bold; padding-left: 1em; padding-right: 1em; } .cardtable .navbox, .navbox-subgroup { background: #fdfdfd;    /* Background color */ } .cardtable .navbox-list { border-color: #fdfdfd;  /* Must match background color */ }

/* styles for the statuses table */ table.cardtablestatuses { width: 75%; margin: auto; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .cardtablestatuses th, .cardtablestatuses td { border: 1px #aaa solid; padding: 0.2em; } .cardtablestatuses th { background: #f2f2f2; text-align: center; } .cardtablestatuses th.cardtablestatusesgroupheader { background: #000; color: #FFF; font-size: 1.5em; line-height: 1.5em; }

/* 1px border between: cardtable and statuses table, cardtable and navbox, statuses table and navbox    */ table.cardtable + table.cardtablestatuses, table.cardtable + table.navbox, table.cardtablestatuses + table.navbox { margin-top: -1px; }