User:SpartHawg948/wikia.css

/* table stuff. make tables simpler all over the wiki. */ /* Style for the table as a whole. 1px grey border all around, collapse the table borders. */ .MEWtable { border: 1px solid #334; border-collapse: collapse; }

/* general table cell styling */ .MEWtable > tbody > tr > th, .MEWtable > tbody > tr > td { border: 1px solid #334; padding: 5px; }

/* styling specific to header cells */ .MEWtable > tbody > tr > th { background: #1E1E2E; border: none; font-weight: bold; } /* specify if a row of header cells should include borders */ .MEWtable > tbody > tr.useborders > th { border: 1px solid #334; }

/* user specifies that cells should be centered by default */ .MEWtable.centercells > tbody > tr > td { text-align: center; }

/* allow a user to specify a different background color for a row */ .MEWtable > tbody > tr.altbackground > td, .MEWtable > tbody > tr.altbackground > th { background: inherit; }

/* allow a user to specify a different border color for a row (maybe) */ .MEWtable > tbody > tr.altborder > td, .MEWtable > tbody > tr.altborder > th { border-color: inherit; }

/* Style for the line table as a whole. 1px grey border top and bottom, collapse the table borders. */ .MEWlinetable { border-top: 1px solid #334; border-bottom: 1px solid #334; border-collapse: collapse; margin: 15px; }

.MEWlinetable > tbody > tr > th, .MEWlinetable > tbody > tr > td { border-top: 1px solid #334; border-bottom: 1px salid #334; padding: 7px; text-align: left; }

.MEWlinetable > tbody > tr > th { font-weight: bold; }

/* user specifies that cells should be centered by default */ .MEWlinetable.centercells > tbody > tr > td { text-align: center; }

/* user specifies that an individual row should have centered text */ .MEWlinetable > tbody > tr.centercells > td { text-align: center; } /*END table CSS */