226 lines
4.0 KiB
CSS
226 lines
4.0 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;
|
|
}
|
|
|
|
.panel hr {
|
|
border: 0px;
|
|
border-bottom: 2px solid #b3b3b396;
|
|
}
|
|
|
|
#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{
|
|
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{
|
|
pointer-events: none;
|
|
position: fixed;
|
|
width: fit-content;
|
|
right: 10px;
|
|
bottom: 5px;
|
|
font-size: 0.8em;
|
|
text-align: right;
|
|
text-shadow: black 2px 1px 4px;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
button{
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
#navigationControls {
|
|
margin-left: auto;
|
|
width: fit-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
>*{
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
width: var(--legendButtonSize);
|
|
height: var(--legendButtonSize);
|
|
}
|
|
}
|
|
|
|
.signText {
|
|
font-family: Arial;
|
|
}
|
|
|
|
#changelog {
|
|
width: fit-content;
|
|
font-size: 11px;
|
|
}
|
|
|
|
#tooltip{
|
|
position: fixed;
|
|
left: 0px;
|
|
top: 0px;
|
|
pointer-events: none;
|
|
padding: 5px;
|
|
margin: 0;
|
|
font-size: 12px;
|
|
}
|
|
#tooltip h1{
|
|
font-variation-settings: "wght" 600;
|
|
font-style: italic;
|
|
font-size: 15px;
|
|
line-height: 1em;
|
|
padding-bottom: 4px;
|
|
padding: 0 4px 4px 4px;
|
|
}
|
|
#tooltip h2{
|
|
font-variation-settings: "wght" 600;
|
|
font-size: 10px;
|
|
line-height: 1em;
|
|
padding-bottom: 4px;
|
|
opacity: 0.7;
|
|
border-bottom: 2px solid #b3b3b396;
|
|
} |