body {
margin: 0;
max-height: 100vh;
display: flex;
overflow: hidden;
}
svg {
background-color: darkgray;
flex-basis: 100%;
/* max-height: 50vh; */
/* max-height: 100vw; */
}
svg text {
user-select: none;
font-size: 4px;
fill: black;
/* stroke: black; */
stroke-width: 0.2px;
font-weight: bold;
transform: translateY(6px);
font-family: monospace;
text-anchor: middle;
/* display: none; */
}
div#content {
display: flex;
/* display: none; */
border-left: 1px solid gray;
flex-basis: 0;
/* overflow: scroll; */
max-height: 100vh;
flex-direction: column;
/* padding: 2px; */
position: relative;
}
#content > div:first-of-type {
padding: 2px;
border-bottom: 1px solid gray;
}
#content > div {
display: none;
}
#content input[type="checkbox"].visible {
position: absolute;
right: 0;
}
#content:has(input[type="checkbox"].visible:checked) > div {
display: block;
}
#content:has(input[type="checkbox"].visible:checked) div#record-sheet {
display: flex;
}
#record-sheet {
/* max-height: 100%; */
overflow-y: auto;
display: flex;
flex-direction: column;
/* display: none; */
background-color: gray;
}
#record-sheet > div {
/* padding: 0 2px; */
overflow-y: auto;
/* border: 1px solid black; */
}
#record-sheet > div > p {
margin: 0;
margin-top: 0px;
margin-bottom: 1px;
padding: 6px 2px;
background-color: lightgray;
}
#record-sheet > div > div {
/* border: 1px solid black; */
margin-bottom: 1px;
padding: 6px 4px;
/* border-radius: 4px; */
}
#record-sheet > div:last-of-type {
margin-top: 2px;
}
#record-sheet > div > div:last-of-type {
margin-bottom: 0;
}
svg > defs > #point {
fill: teal;
fill-opacity: 0.2;
stroke: black;
stroke-width: 0.5px;
}
use[href="#point"] {
opacity: 0;
}
use[href="#point"].active {
opacity: 1;
}
g#points {
transform: translate(19px, 31px) scale(4);
}
#background {
fill: #bacae3;
}
#map2 {
transform: rotate(0.1deg);
}
#map3 {
transform: rotate(0.1deg);
}
image.map-scans {
/* transform: scale(1.39, 1.407) rotate(0.07deg); */
/* opacity: 0.33; */
}
#debug {
display: none;
position: absolute;
right: 0;
background-color: white;
border: 1px solid black;
padding: 2px;
}
#debug fieldset label {
display: block;
text-align: right;
}
circle.counter {
stroke: transparent;
stroke-width: 0.5in;
}
circle.counter[data-troop-allegiance="liao"] {
fill: green;
}
circle.counter[data-troop-allegiance="davion"] {
fill: red;
}
text.counter {
font-size: 80px;
font-weight: bold;
stroke: black;
fill: white;
stroke-width: 2px;
font-family: sans-serif;
cursor: default;
pointer-events: none;
}
rect#map {
fill: black;
opacity: 0;
/* fill-opacity: 0;
stroke: red;
stroke-width: 4px; */
}
polygon.firing-arc {
opacity: 0.1;
fill: black;
/* fill: transparent;
stroke-width: 2px;
stroke: black; */
}
button.set-firing-arc img {
vertical-align: middle;
pointer-events: none;
}
line.firing-arc {
stroke: blue;
opacity: 0.1;
}
.sight-line {
stroke: orangered;
stroke-width: 3px;
}
.soldier-record {
display: inline-block;
position: relative;
white-space: nowrap;
background-color: white;
}
image#img1 {
transform: scale(3.41) rotate(-0.15deg);
/* opacity: 0.33; */
}
.wall {
fill: none;
stroke: red;
stroke-width: 7px;
opacity: 0.7;
}
#asterisk {
font-size: 30;
}
img.logo {
width: 100px;
margin: 0 auto;
display: block;
}
div.soldier-record.selected {
background-color: khaki;
}
rect#debug-view-box {
/* stroke: red;
stroke-width: 20px; */
fill: blue;
fill-opacity: 0.2;
}
@media (width >= 1800px) {
#record-sheet {
flex-direction: row;
/* gap: 2px; */
}
#record-sheet > div > p {
margin-top: 0;
}
#record-sheet > div {
/* max-height: unset; */
overflow-y: unset;
height: min-content;
}
#record-sheet div:last-of-type {
margin-top: 0;
}
#record-sheet > div:first-of-type > div {
/* margin-left: 1px; */
margin-right: 1px;
}
#record-sheet > div:last-of-type > div {
margin-left: 1px;
/* margin-right: 1px; */
}
}