Changes to be committed:
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
This commit is contained in:
53
style.css
Normal file
53
style.css
Normal file
@@ -0,0 +1,53 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user