planet-wars/backend/static/style/style.css

116 lines
1.5 KiB
CSS
Raw Normal View History

2020-03-26 20:25:33 +01:00
html,
body {
margin: 0;
padding: 0;
}
2020-03-25 22:14:26 +01:00
.small {
font-size: 2px;
2020-03-26 20:25:33 +01:00
}
.main {
display: flex;
width: 100%;
height: 100%;
}
.lobby {
flex-grow: 1;
2020-03-28 19:07:55 +01:00
display: flex;
flex-direction: column;
align-self: flex-start;
2020-03-26 20:25:33 +01:00
}
.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;
2020-03-27 10:31:56 +01:00
height: 100%;
2020-03-26 20:25:33 +01:00
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%;
2020-03-28 19:07:55 +01:00
}
.game_state {
background-color: #333;
display: flex;
max-width: 80%;
width: 500px;
margin: 20px auto;
justify-content: space-between;
padding: 20px;
}