MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 318: | Line 318: | ||
table.spiritvale-skill-infobox .hero-module-empty .hero-module-body { | table.spiritvale-skill-infobox .hero-module-empty .hero-module-body { | ||
min-height: 3.2em; | min-height: 3.2em; | ||
} | |||
/* ------------------------------------------------------------ | |||
Text tuning: soften white + subtle outline (HERO MODULES ONLY) | |||
--------------------------------------------------------- */ | |||
:root { | |||
--sv-text-soft: rgba(255, 255, 255, 0.92); | |||
--sv-text-outline: 0 1px 0 rgba(0,0,0,0.55), | |||
0 -1px 0 rgba(0,0,0,0.55), | |||
1px 0 0 rgba(0,0,0,0.55), | |||
-1px 0 0 rgba(0,0,0,0.55); | |||
} | |||
/* Apply to module tile text */ | |||
table.spiritvale-skill-infobox .hero-module, | |||
table.spiritvale-skill-infobox .hero-module * { | |||
color: var(--sv-text-soft) !important; | |||
text-shadow: var(--sv-text-outline); | |||
} | |||
/* Optional: also soften/outline hero title + description text */ | |||
table.spiritvale-skill-infobox > tbody > tr.sv-hero-title-row, | |||
table.spiritvale-skill-infobox > tbody > tr.sv-hero-desc-row { | |||
color: var(--sv-text-soft) !important; | |||
text-shadow: var(--sv-text-outline); | |||
} | } | ||