Riskless/static/css/style.css
2023-02-17 12:46:21 +00:00

141 lines
1.9 KiB
CSS

#players {
position: absolute;
right: 0;
top: 0;
padding: 12px;
z-index: 2;
}
#ready {
position: fixed;
bottom: 20px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#ready-button {
font-size: 2em;
color: red;
}
#end-turn {
font-size: 2em;
color: red;
}
#ready-button.active {
font-size: 2em;
color: green;
}
.status-span {
display: inline-block;
font-weight: bold;
width: 20px;
}
.ready {
color: green;
}
.not-ready {
color: red;
}
#map {
position: absolute;
top: 50vh;
left: 50vw;
}
#map-back {
position: absolute;
top: -500px;
left: -500px;
z-index: 0;
}
.node {
border-radius: 50%;
width: 40px;
height: 40px;
border-color: black;
border-style: solid;
border-width: 2px;
position: absolute;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.strength {
margin: auto;
}
.label {
font-weight: bold;
position: absolute;
top: -20px;
}
.actions {
position: absolute;
top: 50px;
}
.hidden {
display: none !important;
}
.east {
border-color: darkgreen;
}
.west {
border-color: darkblue;
}
#info {
font-size: 1.2em;
font-family: monospace;
position: fixed;
bottom: 0;
right: 0;
}
#remaining-reinforcements {
position: fixed;
bottom: 64px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#modal {
position: fixed;
z-index: 99;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.2);
}
.modal-content {
display: block;
padding: 12px;
background: white;
}
.button-row {
display: flex;
justify-content: space-between;
margin: 4px;
}