MediaWiki:DataMaps.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Interactive maps (Extension:DataMaps) site styles. Labels are bound in MediaWiki:DataMaps.js. */
/* Leaflet's own tooltip stylesheet loads after this one, so out-specify it. */
.ext-datamaps-container .leaflet-tooltip.dn-map-label {
background: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
padding: 0;
margin: 0;
font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
font-size: 14px;
font-weight: 700;
line-height: 1;
letter-spacing: 0.02em;
color: #1b1b1b;
text-shadow:
0 0 2px #fff, 0 0 3px #fff, 0 0 5px #fff,
1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
white-space: nowrap;
pointer-events: none;
}
.ext-datamaps-container .leaflet-tooltip.dn-map-label::before {
display: none; /* no tooltip arrow */
}
.ext-datamaps-container .leaflet-tooltip.dn-map-label-mini {
font-size: 11px;
}
/* Cities, strongholds, themed sites and the party keep their labels at every zoom;
towns, ruins, wilds and rumours only once zoomed in a little. */
.ext-datamaps-container[data-dn-label-tier="far"] .leaflet-tooltip.dn-map-label-minor {
display: none;
}