User:Heddy/common.css

/* inktable class for skinning tables */ table.inktable-test { background-color: white; margin: 1em 0; border-style: solid; border-width: 5px 2px; border-collapse: collapse; box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); }

table.inktable-test > thead > tr > th, table.inktable-test > tbody > tr > th, table.inktable-test > tbody > tr > td { border-style: solid; border-width: 1px; padding: 0.2em 0.4em; }

table.inktable-test > caption { font-weight: bold; }

/* classes for adding site colors (documented at Template:SiteColor) to tables */ table.tablecolor-generic-test, table.tablecolor-generic-test > thead > tr > th, table.tablecolor-generic-test > tbody > tr > th, table.tablecolor-generic-test > tbody > tr > td { border-color: rgba(0, 153, 255, 1); }

table.tablecolor-generic-test > thead > tr > th, table.tablecolor-generic-test > tbody > tr > th { background-color: rgba(0, 153, 255, 0.25); }

/* zebra classes for giving stipes to tables */ table.zebra-generic-even > tbody > tr:nth-child(even) > td { background-color: rgba(0, 153, 255, 0.15); }

table.zebra-generic-odd > tbody > tr:nth-child(odd) > td { background-color: rgba(0, 153, 255, 0.15); }

/* remove borders from table cells to complement zebra stripes also left-aligns header cell text, which is necessary for readability */ table.nocellborder-test > thead > tr > th, table.nocellborder-test > tbody > tr > th, table.nocellborder-test > tbody > tr > td { border-style: none; }

table.nocellborder-test > thead > tr > th, table.nocellborder-test > tbody > tr > th { text-align: left; }