Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:NPCTableCSS: Difference between revisions

Template page
Appolomyi (talk | contribs)
Undo revision 222862 by Appolomyi (talk)
Tag: Undo
Re-add background color using design-token.
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
table.complex {font-size: 0.9em; line-height: 1.1em; padding-bottom: 0;}
table.complex {font-size: 0.9em; line-height: 1.1em; padding-bottom: 0;}
table.complex caption {padding: 0.25em; text-align:left; }
table.complex caption {padding: 0.25em; text-align:left; }
table.complex tr th {background-color: #222; padding: 0.35em;}
table.complex tr th {padding: 0.35em; background-color: var(--background-color-warning-subtle);}
table.complex tr td {padding: 0.25em; }
table.complex tr td {padding: 0.25em; }
table.complex tr td.icon {text-align: center; padding: 0; }
table.complex tr td.icon {text-align: center; padding: 0; }
Line 12: Line 12:
.wikitable.NPC .head th p {display: none; }
.wikitable.NPC .head th p {display: none; }
.wikitable.NPC caption {text-align:left; margin-left: 0.5em; }
.wikitable.NPC caption {text-align:left; margin-left: 0.5em; }
.wikitable.NPC th {background-color: #222; padding: 0.5em 0.5em 0.4em; }
.wikitable.NPC th {padding: 0.5em 0.5em 0.4em; background-color: var(--background-color-warning-subtle);}
.wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; }
.wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; }
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; }
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; }