59 lines
1.0 KiB
CSS
59 lines
1.0 KiB
CSS
body {
|
|
background-color: whitesmoke;
|
|
}
|
|
|
|
main.main-container {
|
|
position: relative;
|
|
}
|
|
|
|
.board-container {
|
|
background-color: white;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.flex-grid {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
grid-gap: 2px;
|
|
padding-bottom: 2px;
|
|
}
|
|
.flex-grid:last-of-type {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.cell {
|
|
flex: 1;
|
|
aspect-ratio: 1;
|
|
background-color: beige;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
ul.players {
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.player-tooltip {
|
|
position: absolute;
|
|
margin-bottom: 50px;
|
|
font-size: 8pt;
|
|
padding: 2px 10px;
|
|
color: white;
|
|
background-color: darkred;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.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;
|
|
}
|