Tweak frontend and game logic
This commit is contained in:
@ -17,4 +17,32 @@ body {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
background-color: beige;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
ul.players {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.player-tooltip {
|
||||
position: absolute;
|
||||
top: -25px;
|
||||
font-size: 8pt;
|
||||
padding: 2px 10px;
|
||||
color: white;
|
||||
background-color: darkred;
|
||||
border-radius: 5px;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.player-tooltip::after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
top: 100%; /* At the bottom of the tooltip */
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: darkred transparent transparent transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user