Riskless/static/css/style.css

117 lines
1.5 KiB
CSS
Raw Normal View History

#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;
}
2023-02-16 09:38:03 +00:00
#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;
}
2023-02-06 12:30:24 +00:00
#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 {
2023-02-06 13:03:25 +00:00
font-weight: bold;
2023-02-06 12:30:24 +00:00
position: absolute;
top: -20px;
}
2023-02-06 13:03:25 +00:00
.actions {
2023-02-06 13:03:25 +00:00
position: absolute;
top: 50px;
}
.hidden {
display: none;
}
.east {
border-color: darkgreen;
}
.west {
border-color: darkblue;
}
2023-02-08 15:52:02 +00:00
#info {
font-size: 1.2em;
font-family: monospace;
position: fixed;
bottom: 0;
right: 0;
}
#remaining-reinforcements {
position: fixed;
2023-02-16 09:38:03 +00:00
bottom: 64px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}