Skip to content

Instantly share code, notes, and snippets.

@aimore
Created March 4, 2018 19:57
Show Gist options
  • Save aimore/e889b1d802e47d98a1e93340d9daa280 to your computer and use it in GitHub Desktop.
Save aimore/e889b1d802e47d98a1e93340d9daa280 to your computer and use it in GitHub Desktop.
Skip to content
This repository
Search
Pull requests
Issues
Marketplace
Explore
@aimore
Sign out
6
48 14 turban/Leaflet.Instagram
Code Issues 0 Pull requests 0 Projects 0 Wiki Insights
Leaflet.Instagram/dist/Leaflet.Instagram.css
43eed1c on 26 Jun 2014
@turban turban Bower package
69 lines (66 sloc) 1.34 KB
/* Marker */
.leaflet-marker-instagram {
border: 2px solid #fff;
box-shadow: 3px 3px 10px #888;
}
/* Popup */
.leaflet-popup-instagram a.leaflet-popup-close-button {
top: 0px;
right: -13px;
background-color: #fff;
padding: 5px;
border-radius: 12px;
width: 15px;
height: 15px;
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
color: #555;
}
.leaflet-popup-instagram a.leaflet-popup-close-button:hover {
color: #333;
background-color: #eee;
}
.leaflet-popup-instagram .leaflet-popup-content-wrapper {
padding: 0 0 1px 0;
border-radius: 6px;
}
.leaflet-popup-instagram .leaflet-popup-content {
margin: 13px 0;
}
.leaflet-popup-instagram img,
.leaflet-popup-instagram video {
width: 301px;
height: 301px;
border-radius: 4px 4px 0 0;
}
.leaflet-popup-instagram p {
margin: 5px 10px 0 10px;
}
/* Cluster */
.leaflet-cluster-instagram img {
border: 2px solid #fff;
box-shadow: 3px 3px 10px #888;
position: relative;
width: 40px;
height: 40px;
}
.leaflet-cluster-instagram b {
position: absolute;
top: -7px;
left: 34px;
color: #555;
background-color: #fff;
border-radius: 8px;
height: 12px;
min-width: 12px;
line-height: 12px;
text-align: center;
padding: 3px;
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
.leaflet-retina .leaflet-cluster-instagram img {
width: 80px;
height: 80px;
}
.leaflet-retina .leaflet-cluster-instagram b {
left: 68px;
}
© 2018 GitHub, Inc.
Terms
Privacy
Security
Status
Help
Contact GitHub
API
Training
Shop
Blog
About
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment