Files
Werewolf/client/styles/create.css
2021-11-08 23:38:41 -05:00

129 lines
2.2 KiB
CSS

.compact-card {
text-align: center;
cursor: pointer;
position: relative;
margin: 0.3em;
background-color: #393a40;
color: gray;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
border-radius: 3px;
user-select: none;
max-width: 15em;
min-width: 12em;
display: flex;
height: max-content;
}
.compact-card h1 {
display: flex;
align-items: center;
font-size: 14px;
margin: 0 10px 0 10px;
}
.compact-card .card-role {
color: #bfb8b8;
margin: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 8em;
}
.compact-card-right p {
font-size: 40px;
margin: 0 10px 0 0;
display: flex;
justify-content: flex-end;
}
.compact-card-left p {
font-size: 40px;
margin: 0 0 0 10px;
display: flex;
justify-content: flex-start;
}
.compact-card-left, .compact-card-right {
width: 50%;
}
.compact-card .card-quantity {
text-align: center;
margin: 0;
}
.compact-card-header {
position: absolute;
left: 0;
right: 0;
margin: auto;
flex-direction: column;
align-items: center;
justify-content: center;
display: flex;
top: 0;
pointer-events: none;
text-align: center;
}
#deck-container, #deck, #custom-roles-container {
width: fit-content;
}
#deck-container, #custom-roles-container {
margin: 0.5em 0;
}
#deck {
display: flex;
flex-wrap: wrap;
}
form {
width: 100%;
margin: 1em 0;
}
select {
padding: 10px;
font-size: 18px;
font-family: 'signika-negative', sans-serif;
}
#deck-container, #custom-roles-container {
border: 1px solid #3d4448;
padding: 10px;
border-radius: 3px;
}
#game-form > div {
display: flex;
flex-direction: column;
border: 1px solid #3d4448;
padding: 10px;
border-radius: 3px;
width: fit-content;
}
#game-form > div > label {
display: flex;
}
#game-time label, #game-time input {
margin-right: 10px;
}
label[for="game-time"], label[for="add-card-to-deck-form"], label[for="deck"] {
color: #0075F2;
font-size: 30px;
border-radius: 3px;
margin-bottom: 10px;
}
#create-game{
color: #45a445;
font-size: 30px;
margin-top: 2em;
}