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-test-0 > tbody > tr:nth-child(2n+0) > td { background-color: rgba(0, 153, 255, 0.15); }

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

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

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

/* remove borders from table cells to complement zebra stripes */ table.nocellborder-test > tbody > tr > td { border-style: none; }