User:Heddy/common.css

/* style rules for wikitable class */ table.wikitable { background-color: white; color: #222; margin: 1em 0; border-style: solid; border-width: 5px 2px; border-color: rgba(0, 153, 255, 1); border-collapse: collapse; box-shadow: 0 0 1em rgba(0, 0, 0, 0.25); }

table.wikitable > thead > tr > th, table.wikitable > tbody > tr > th, table.wikitable > tbody > tr > td { border-style: solid; border-width: 1px; border-color: rgba(0, 153, 255, 1); padding: 0.2em 0.4em; }

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

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

/* classes for adding site colors to tables site colors are documented at Template:SiteColor */ table.sitecolor-s, table.sitecolor-s > thead > tr > th, table.sitecolor-s > tbody > tr > th, table.sitecolor-s > tbody > tr > td { border-color: rgba(170, 220, 0, 1); }

table.sitecolor-s > thead > tr > th, table.sitecolor-s > tbody > tr > th { background-color: rgba(170, 220, 0, 0.25); }

table.sitecolor-s2, table.sitecolor-s2 > thead > tr > th, table.sitecolor-s2 > tbody > tr > th, table.sitecolor-s2 > tbody > tr > td { border-color: rgba(240, 60, 120, 1); }

table.sitecolor-s2 > thead > tr > th, table.sitecolor-s2 > tbody > tr > th { background-color: rgba(240, 60, 120, 0.25); }

table.sitecolor-niwa, table.sitecolor-niwa > thead > tr > th, table.sitecolor-niwa > tbody > tr > th, table.sitecolor-niwa > tbody > tr > td { border-color: rgba(255, 128, 0, 1); }

table.sitecolor-niwa > thead > tr > th, table.sitecolor-niwa > tbody > tr > th { background-color: rgba(255, 128, 0, 0.25); }

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

table.zebra-odd > tbody > tr:nth-child(odd) > 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; }

/* left-aligns header cell text sometimes necessary for readability with zebra tables */ table.nocellborder-test > thead > tr > th, table.nocellborder-test > tbody > tr > th { text-align: left; }