Template:Infobox hero/styles.css: Difference between revisionsGive feedback
Harden stat cell modifier selectors so they no longer depend on source order to win (with help from vergir-bot LLM) |
Make the collapsible toggle brackets follow the dropdown header's link color instead of the theme text color (with help from vergir-bot LLM) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 316: | Line 316: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox-h-subsection tr > td:first-child | .infobox-h-subsection tr > td:first-child .infobox-h-stat-label{ | ||
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; | ||
} | |||
.infobox-h-dropdown-header > button::before, | |||
.infobox-h-dropdown-header > button::after{ | |||
color: inherit; | |||
} | } | ||
| Line 446: | Line 451: | ||
/* ------------ Stat Cell Modifiers -------------------*/ | /* ------------ Stat Cell Modifiers -------------------*/ | ||
/* 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. */ | ||