show in the UI if a player is disconnected

This commit is contained in:
ducklet 2021-01-31 00:56:30 +01:00
parent e41172ca57
commit f406627042
3 changed files with 29 additions and 9 deletions

View file

@ -23,25 +23,32 @@ ul {
margin: 0;
padding: 0;*/
}
li.me::after {
.player.inactive {
color: grey;
}
.player.inactive::after {
content: " (gone)";
font-style: italic;
}
.player.me::after {
content: " — that's you!";
font-style: italic;
}
li.buzzing {
.player.buzzing {
color: red;
font-weight: bold;
font-size: 2em;
list-style-type: none;
}
li.buzzing.first::before {
.player.buzzing.first::before {
content: "🥇 ";
}
li.buzzing.too-late {
.player.buzzing.too-late {
color: black;
font-weight: bold;
font-size: 1.2em;
}
li.buzzing.too-late::before {
.player.buzzing.too-late::before {
content: "🥈 ";
}
#info {