Template:Infobox styles.css: Difference between revisions
Add per-type infobox title colors and type badge styles for CRT model (purple), AV device (blue), Accessory (copper), Part (slate). Includes light, night, and OS dark mode variants. Also adds per-type Edit button colors. (via update-page on MediaWiki MCP Server) |
Add link styling for breadcrumb-style type badges (via update-page on MediaWiki MCP Server) |
||
| Line 54: | Line 54: | ||
letter-spacing: 0.05em; | letter-spacing: 0.05em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | |||
/* Badge link styling — links must inherit badge text color */ | |||
.infobox-type-badge a, | |||
.infobox-type-badge a:visited { | |||
color: rgba(255, 255, 255, 0.9) !important; | |||
text-decoration: none; | |||
} | |||
.infobox-type-badge a:hover { | |||
text-decoration: underline; | |||
} | } | ||
| Line 342: | Line 353: | ||
background-color: #687382; | background-color: #687382; | ||
color: rgba(255, 255, 255, 0.85); | color: rgba(255, 255, 255, 0.85); | ||
} | |||
/* Badge link styling - night mode */ | |||
html.skin-theme-clientpref-night .infobox-type-badge a, | |||
html.skin-theme-clientpref-night .infobox-type-badge a:visited { | |||
color: rgba(255, 255, 255, 0.85) !important; | |||
} | } | ||
| Line 574: | Line 591: | ||
background-color: #687382; | background-color: #687382; | ||
color: rgba(255, 255, 255, 0.85); | color: rgba(255, 255, 255, 0.85); | ||
} | |||
/* Badge link styling - OS dark mode */ | |||
html.skin-theme-clientpref-os .infobox-type-badge a, | |||
html.skin-theme-clientpref-os .infobox-type-badge a:visited { | |||
color: rgba(255, 255, 255, 0.85) !important; | |||
} | } | ||