planet-wars/backend/static/style/style.css
2020-03-28 19:07:55 +01:00

116 lines
1.5 KiB
CSS

html,
body {
margin: 0;
padding: 0;
}
.small {
font-size: 2px;
}
.main {
display: flex;
width: 100%;
height: 100%;
overflow: hidden;
}
.lobby {
flex-grow: 1;
display: flex;
flex-direction: column;
align-self: flex-start;
}
.input_container {
display: flex;
margin: auto;
width: 90%;
padding: 10px;
}
.input_container label {
font-size: normal;
width: 30%;
}
.input_container input {
font-size: small;
width: 70%;
}
.number label {
width: 60%;
}
.number input {
width: 40%;
text-align: right;
}
.map_select {
overflow-y: scroll;
flex-shrink: 5;
width: 75%;
height: 100%;
}
.map {
padding: 5px;
background-color: lightgray;
color: black;
}
.selected {
background-color: #ff7f00;
}
.map:hover {
filter: brightness(80%);
}
.creator {
background-color: #333;
display: flex;
flex-direction: column;
height: 100%;
min-width: 300px;
/* width: 25%; */
justify-content: space-between;
align-items: center;
color: #aaa;
}
.creator h1 {
text-align: center;
margin: 0;
}
.creator button {
margin-bottom: 10px;
width: 80%;
padding: 5px;
}
#map_holder {
width: 100%;
height: 300px;
background-color: #111;
}
svg {
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.game_state {
background-color: #333;
display: flex;
max-width: 80%;
width: 500px;
margin: 20px auto;
justify-content: space-between;
padding: 20px;
}