MediaWiki:Common.css: Difference between revisions
BOINC Synergy sitewide styles |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ═══════════════════════════════════════════════════════ | /* ═══════════════════════════════════════════════════════ | ||
BOINC Synergy — sitewide styles | BOINC Synergy — sitewide styles | ||
| Line 65: | Line 64: | ||
--bs-text-primary: #1a1a1a; | --bs-text-primary: #1a1a1a; | ||
--bs-text-muted: #555555; | --bs-text-muted: #555555; | ||
/* link colours — light mode */ | |||
--bs-link: #534AB7; /* purple-400 */ | |||
--bs-link-hover: #3C3489; /* purple-800 */ | |||
--bs-link-visited: #7F77DD; /* mid-purple, distinct from unvisited */ | |||
} | } | ||
| Line 112: | Line 116: | ||
--bs-text-primary: #e8e8e8; | --bs-text-primary: #e8e8e8; | ||
--bs-text-muted: #aaaaaa; | --bs-text-muted: #aaaaaa; | ||
/* link colours — dark mode */ | |||
--bs-link: #AFA9EC; /* purple-200: soft lilac, readable on dark */ | |||
--bs-link-hover: #CECBF6; /* purple-800 (dark-mode): lighter on hover */ | |||
--bs-link-visited: #7F77DD; /* mid-purple, distinct from unvisited */ | |||
} | } | ||
} | |||
/* ── LINKS ──────────────────────────────────────────── */ | |||
/* Scope to .mw-body-content so MediaWiki nav chrome is unaffected */ | |||
.mw-body-content a, | |||
.mw-body-content a:link { | |||
color: var(--bs-link); | |||
text-decoration: none; | |||
} | |||
.mw-body-content a:visited { | |||
color: var(--bs-link-visited); | |||
} | |||
.mw-body-content a:hover, | |||
.mw-body-content a:focus { | |||
color: var(--bs-link-hover); | |||
text-decoration: underline; | |||
text-underline-offset: 2px; | |||
} | } | ||