MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 58: | Line 58: | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
/* ============================================================ | |||
HERO readability fixes (force high-contrast text + links) | |||
============================================================ */ | |||
/* Force all text inside the hero to be readable */ | |||
.bc-hero, | |||
.bc-hero * { | |||
color: rgba(255,255,255,.92) !important; | |||
} | |||
/* Headline should be fully white */ | |||
.bc-hero h1, | |||
.bc-hero h2, | |||
.bc-hero h3 { | |||
color: #fff !important; | |||
} | |||
/* Make all links in the hero readable (no default purple/blue) */ | |||
.bc-hero a, | |||
.bc-hero a:visited { | |||
color: rgba(255,255,255,.95) !important; | |||
text-decoration: underline; | |||
text-decoration-color: rgba(255,255,255,.35); | |||
text-underline-offset: 2px; | |||
} | |||
/* Hover/focus: slightly brighter so it feels interactive */ | |||
.bc-hero a:hover, | |||
.bc-hero a:focus { | |||
color: #fff !important; | |||
text-decoration-color: rgba(255,255,255,.65); | |||
} | |||
/* If you have muted meta text in hero, keep it softer but still readable */ | |||
.bc-hero .bc-meta, | |||
.bc-hero .bc-kicker { | |||
color: rgba(255,255,255,.80) !important; | |||
} | |||
/* ============================================================ | /* ============================================================ | ||