show in the UI if a player is disconnected
This commit is contained in:
parent
e41172ca57
commit
f406627042
3 changed files with 29 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue