new file: OpenHaystackIcon.png modified: README.md new file: index.html new file: libs/images/layers-2x.png new file: libs/images/layers.png new file: libs/images/marker-icon-2x.png new file: libs/images/marker-icon.png new file: libs/images/marker-shadow.png new file: libs/leaflet-src.esm.js new file: libs/leaflet-src.esm.js.map new file: libs/leaflet-src.js new file: libs/leaflet-src.js.map new file: libs/leaflet.css new file: libs/leaflet.js new file: libs/leaflet.js.map new file: sampledata.json new file: script.js new file: style.css
54 lines
832 B
CSS
54 lines
832 B
CSS
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
background-color: #000000;
|
|
}
|
|
|
|
#map {
|
|
height: 100vh;
|
|
background: #000000;
|
|
}
|
|
|
|
.leaflet-layer,
|
|
.leaflet-control-zoom-in,
|
|
.leaflet-control-zoom-out,
|
|
.leaflet-control-attribution {
|
|
filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
|
|
}
|
|
|
|
.leaflet-container {
|
|
background: #000000;
|
|
}
|
|
|
|
.marker-pin {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50% 50% 50% 0;
|
|
position: absolute;
|
|
transform: rotate(-45deg);
|
|
left: 50%;
|
|
top: 50%;
|
|
margin: -15px 0 0 -15px;
|
|
}
|
|
|
|
.marker-pin::after {
|
|
content: "";
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 3px 0 0 3px;
|
|
background: #fff;
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.custom-div-icon i {
|
|
position: absolute;
|
|
width: 22px;
|
|
font-size: 22px;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 10px auto;
|
|
text-align: center;
|
|
}
|