mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-05-19 21:03:28 +02:00
Show player list when connected to a server
This commit is contained in:
@@ -61,6 +61,31 @@ body {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#players {
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
right: 20px;
|
||||
width: 200px;
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
#players .header {
|
||||
padding: 10px;
|
||||
background-color: rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
#players .body {
|
||||
max-height: 400px;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#players ul {
|
||||
list-style: none;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.color-a { color: #50FF38; }
|
||||
.color-b { color: #5BFFFF; }
|
||||
.color-c { color: #EA3A3F; }
|
||||
|
||||
Reference in New Issue
Block a user