Template:Infobox hero/styles.css: Difference between revisions

No edit summary
Vergir (talk | contribs)
Make the collapsible toggle brackets follow the dropdown header's link color instead of the theme text color (with help from vergir-bot LLM)
 
(4 intermediate revisions by 2 users not shown)
Line 316: Line 316:
vertical-align: top;
vertical-align: top;
}
}
.infobox-h-subsection tr > td:first-child span{
.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 442: Line 447:
text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369;
text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369;
font-size: 18px;
font-size: 18px;
}
/* ------------ Stat Cell Modifiers -------------------*/
/* Headroom for a section's first row when it carries a scaling icon. */
.infobox-h .infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-label-scaled{
padding-top: 8px;
}
/* Breathing room for value cells whose scaling icon sits near the edge. */
.infobox-h .infobox-h-dropdown .infobox-h-subsection-child tr > td.infobox-h-stat-value-padded{
padding-right: 5px;
}
}