DRIP/css/index.css

101 lines
1.7 KiB
CSS

body {
margin: 0;
font-family: "Open Sans", sans-serif;
}
div#map {
position: absolute;
top: 8em;
bottom: 0;
width: 100%;
}
div.appInfo {
width: calc(100% - 2em);
position: absolute;
height: 4em;
top: 0;
left: 0;
z-index: 1000;
padding: 1em;
background-color: white;
display: grid;
grid-template-areas:
"title updated"
"info info"
;
}
div.appInfo span {
font-size: 12px;
}
div.appInfo span:nth-of-type(1) {
font-family: 'Codystar', cursive;
font-size: 2em;
grid-area: title;
}
div.appInfo span:nth-of-type(2) {
text-align: right;
grid-area: updated;
}
div.appInfo span:nth-of-type(3) {
grid-area: info;
}
img.vmsImage {
border: 5px solid black;
margin: 0 auto;
}
.mapboxgl-popup-content {
background: black !important;
color: white;
width: max-content !important;
}
.mapboxgl-popup-close-button {
color: white !important;
}
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
border-top-color: black !important;
}
@media only screen and (max-width: 750px) {
div#map {
top: 6em;
}
div.appInfo {
height: 2em;
display: grid;
grid-template-areas:
"title updated"
;
}
div.appInfo span:nth-of-type(3) {
display: none;
}
}
@media only screen and (max-width: 500px) {
div#map {
top: 7em;
}
div.appInfo {
height: 3em;
display: grid;
grid-template-areas:
"title"
"updated";
}
div.appInfo span:nth-of-type(2) {
text-align: left;
}
}