192 lines
3.6 KiB
CSS
192 lines
3.6 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&family=Protest+Strike&display=swap');
|
|
|
|
:root{
|
|
--absScale: 1;
|
|
--legendButtonSize: 50px;
|
|
}
|
|
|
|
html *{
|
|
box-sizing: border-box;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
html, body{
|
|
height: 100vh;
|
|
width: 100vw;
|
|
font-family: "Noto Sans";
|
|
font-variation-settings: "wght" 400;
|
|
color: #e9e9e9;
|
|
font-size: 14px;
|
|
overflow:hidden;
|
|
}
|
|
|
|
a{
|
|
color: #85c4f7;
|
|
}
|
|
a:visited{
|
|
color: #559bd4;
|
|
}
|
|
|
|
.orange{
|
|
color: #e79830;
|
|
}
|
|
|
|
.panel{
|
|
border: 2px solid #b3b3b396;
|
|
background: linear-gradient(120deg, #2c3f58, #191e2e);
|
|
text-shadow: 2px 2px 5px #0003;
|
|
margin: 5px;
|
|
padding: 8px 13px;
|
|
border-radius: 5px;
|
|
pointer-events: all;
|
|
}
|
|
|
|
#topleft{
|
|
position:fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
pointer-events: none;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
max-width: min(500px,100vw);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#headerbar{
|
|
background: linear-gradient(120deg, #3d5779, #121522);
|
|
font-size: 2em;
|
|
border-left: 0px;
|
|
font-variation-settings: "wght" 500;
|
|
padding: 10px 30px 10px 30px;
|
|
margin: 10px 0px;
|
|
border-radius: 0px 10px 10px 0px;
|
|
max-width: fit-content;
|
|
}
|
|
|
|
#legendButton{
|
|
cursor: pointer;
|
|
user-select: none;
|
|
padding: 8px;
|
|
height: var(--legendButtonSize);
|
|
width: var(--legendButtonSize);
|
|
>*{
|
|
transition: transform 200ms ease;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
#legendKey{
|
|
columns: 2;
|
|
}
|
|
|
|
#legendKeyColors{
|
|
overflow-wrap:break-word;
|
|
}
|
|
|
|
#legend{
|
|
transition: transform 400ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-shrink: 1;
|
|
min-height: 0px;
|
|
}
|
|
#legendContents{
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #62778a #1c1e2d;
|
|
pointer-events: all;
|
|
}
|
|
|
|
#redrawTrigger{
|
|
transition: background-color 800ms;
|
|
display: inline-block;
|
|
width: 1px;
|
|
height: 5px;
|
|
background-color: #000;
|
|
opacity: 0.01;
|
|
}
|
|
|
|
#settingsPanel{
|
|
user-select: none;
|
|
input, label{
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
#stats{
|
|
position: fixed;
|
|
width: fit-content;
|
|
right: 10px;
|
|
bottom: 5px;
|
|
font-size: 0.8em;
|
|
text-align: right;
|
|
}
|
|
|
|
#mapNavigator{
|
|
transition: transform 100ms ease-out;
|
|
transform-origin: 0% 0%;
|
|
>*{
|
|
position:absolute;
|
|
pointer-events: none;
|
|
>*{
|
|
pointer-events: visiblePainted;
|
|
}
|
|
}
|
|
}
|
|
|
|
#mapContainer{
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
cursor: grab;
|
|
user-select: none;
|
|
background: linear-gradient(#444, #333);
|
|
}
|
|
|
|
.colorKey, .gradientKey{
|
|
border:1px #858585 solid;
|
|
border-radius: 4px;
|
|
display: inline-block;
|
|
margin: 2px 1px;
|
|
padding: 1px 3px;
|
|
}
|
|
|
|
.inlineSvg, .colorKey>span{
|
|
width: 1em;
|
|
height: 1em;
|
|
vertical-align: -0.1em;
|
|
display: inline-block;
|
|
}
|
|
|
|
.poi{
|
|
font-variation-settings: "wght" 700;
|
|
}
|
|
|
|
#zoom-buttons {
|
|
position: absolute;
|
|
bottom: 80px; /* Position 10px from the bottom */
|
|
right: 10px; /* Position 10px from the right */
|
|
z-index: 1000; /* Ensure it's above the map */
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
#zoom-buttons button {
|
|
background-color: #ffffff;
|
|
border: 1px solid #cccccc;
|
|
border-radius: 5px;
|
|
padding: 10px 35px;
|
|
font-size: 40px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#zoom-buttons button:hover {
|
|
background-color: #f0f0f0;
|
|
} |