1
0
James Ketrenos 89ad5ac1dd resetGame fixes for new games
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-02-28 00:01:49 -08:00

40 lines
613 B
CSS

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