Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox rank/styles.css: Difference between revisions

Template page
m Remove Current holders nowrap rule, add titleicon parameter
Tag: Manual revert
m Enlarge title icon and widen gap from title text
Line 1: Line 1:
.loka-rank-titleicon {
display: inline-block;
margin-left: .5em;
}
.loka-rank-titleicon img {
width: 24px;
height: 24px;
}
.loka-rank-staff--yes {
.loka-rank-staff--yes {
color: #54FC54;
color: #54FC54;

Revision as of 09:55, 22 August 2026

.loka-rank-titleicon {
	display: inline-block;
	margin-left: .5em;
}

.loka-rank-titleicon img {
	width: 24px;
	height: 24px;
}

.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;
	}
}