Editing Template:Infobox hero/styles.cssGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 316: | Line 316: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox-h-subsection tr > td:first-child | .infobox-h-subsection tr > td:first-child span{ | ||
color: var(--th-heroinfobox-stats-text); | color: var(--th-heroinfobox-stats-text); | ||
text-decoration: underline; | text-decoration: underline; | ||
| Line 372: | Line 372: | ||
.infobox-h-dropdown-header button .mw-collapsible-text:hover{ | .infobox-h-dropdown-header button .mw-collapsible-text:hover{ | ||
color: white; | color: white; | ||
} | } | ||
| Line 451: | Line 446: | ||
/* ------------ Stat Cell Modifiers -------------------*/ | /* ------------ Stat Cell Modifiers -------------------*/ | ||
/* Applied by [[Module:InfoboxHero]] in place of inline styles. | |||
Both selectors must out-specify | |||
'.infobox-h-dropdown .infobox-h-subsection-child tr:first-child > td', | |||
which would otherwise win. */ | |||
/* Headroom for a section's first row when it carries a scaling icon. */ | /* Headroom for a section's first row when it carries a scaling icon. */ | ||
.infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-label-scaled{ | |||
padding-top: 8px; | padding-top: 8px; | ||
} | } | ||
/* Breathing room for value cells whose scaling icon sits near the edge. */ | /* Breathing room for value cells whose scaling icon sits near the edge. */ | ||
.infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-value-padded{ | |||
padding-right: 5px; | padding-right: 5px; | ||
} | } | ||