1
0
James Ketrenos 4c0826f884 Fix #30 - Show available pieces on board
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-03-06 12:47:09 -08:00

63 lines
988 B
CSS

.Winner {
display: flex;
position: absolute;
left: 0;
right: 30rem;
bottom: 0;
top: 0;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.5);
z-index: 1000;
max-height: 100vh;
overflow: auto;
}
.Winner > * {
max-height: calc(100vh - 2em);
overflow: auto;
margin: 0.5em;
width: 40em;
display: inline-flex;
padding: 0.5em;
flex-direction: column;
}
.Winner .Title {
align-self: center;
padding: 2px;
font-weight: bold;
margin-bottom: 0.5em;
}
.Winner .Description {
padding: 1em;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.Winner .Description > div {
display: inline;
margin-bottom: 1rem;
line-height: 1.25rem;
}
.Winner .Description b {
margin: 0;/* 0.25rem;*/
}
.Winner .Resource {
width: 10em; /* 5x7 aspect ratio */
height: 14em;
}
.Winner .PlayerColor {
display: inline-flex;
width: 0.8em;
height: 0.8em;
padding: 0;
margin: 0;
}