Alex ville ha färger på metastate för att han är en fisk
This commit is contained in:
parent
337eff56aa
commit
b94f064118
2 changed files with 25 additions and 1 deletions
|
|
@ -202,11 +202,23 @@ body {
|
|||
.stat.kills::before { content: "⚔️ "; }
|
||||
.stat.kph::after { content: " KPH"; font-size:0.7em; color:#aaa; }
|
||||
.stat.rares::after { content: " Rares"; font-size:0.7em; color:#aaa; }
|
||||
.stat.meta {
|
||||
/* metastate pill colors are assigned dynamically: green for “good” states, red otherwise */
|
||||
#playerList li .stat.meta {
|
||||
/* fallback */
|
||||
background: var(--accent);
|
||||
color: #111;
|
||||
}
|
||||
|
||||
#playerList li .stat.meta.green {
|
||||
background: #2ecc71; /* pleasant green */
|
||||
color: #111;
|
||||
}
|
||||
|
||||
#playerList li .stat.meta.red {
|
||||
background: #e74c3c; /* vivid red */
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* ---------- chat window styling ------------------------------- */
|
||||
.chat-btn {
|
||||
margin-top: 4px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue