I'm working on a Wiki page from Gamepedia.
It has an upper layer file called Common.css with extra styles automatically applied to all skins.
table.wikitable2 {
background-color: transparent;
color: #FFFFFF;
border-collapse: collapse;
box-shadow: 0 0.1em 0.75em #FFFF73;
}
table.wikitable2 > tr > th,
table.wikitable2 > * > tr > th {
background: #000000;
color: #FFFFFF;
}
table.wikitable2 > tr > th,
table.wikitable2 > tr > td,
table.wikitable2 > * > tr > th,
table.wikitable2 > * > tr > td {
color: #FFFFFF;
border: 1px solid #00FFFF;
}
Then on the page in question I have my table:
{| class="wikitable2" style="text-align:center; background-color: #333333; color: #FFFFFF; border-spacing: 0; padding: 10px 10px 10px 10px!important; cellpadding: 10px!important"
|-
| Name
| Frequency
|- style="background-color: #00008A; color: #FFFFFF"
| 1
| 2
|}
The problem is the cells. The cells won't pad no matter what I add, to either of the above sections. My last effort was adding '!important' to cellpadding and padding attributes.
I came here as a very last resort, I have been to Gamepedia's IRC and got no answer in several hours and have made at least 200 modifications over 5 hours to try and get this ridiculously simple thing added to my table. Please could anyone help me?
EDIT:
https://www.dropbox.com/s/opfgxa8a8bgnt6l/crampedTable.png?dl=0