Template:Infobox rank/styles.css: Difference between revisions
Template page
More actions
m No-wrap Current holders label, suppress Forums' 'on the Loka Forums' suffix, ribbon shows Staff Rank/Community Rank, desc renamed to purpose as its own row, title colour now pulled from {{Rank}} instead of a separate colour= param Tag: Reverted |
m Remove Current holders nowrap rule, add titleicon parameter Tag: Manual revert |
||
| Line 1: | Line 1: | ||
.loka-rank-staff--yes { | .loka-rank-staff--yes { | ||
color: #54FC54; | color: #54FC54; | ||
Revision as of 09:52, 22 August 2026
.loka-rank-staff--yes {
color: #54FC54;
}
.loka-rank-staff--no {
color: #FC5454;
}
.loka-rank-active--active {
color: #54FC54;
}
.loka-rank-active--deprecated {
color: #FC5454;
}
/* Same green/red pairing (and the same reasoning) as Template:Infobox
website's status badge -- these neon shades read clearly against a dark
infobox but wash out on a light one, so light mode gets darker,
equally-distinct equivalents rather than picking new colours. */
@media (prefers-color-scheme: light) {
.loka-rank-staff--yes,
.loka-rank-active--active {
color: #2E7D32;
}
.loka-rank-staff--no,
.loka-rank-active--deprecated {
color: #C62828;
}
}