MediaWiki:DataMaps.css

From Deez Nuts' Sword Coast Campaign
Revision as of 18:56, 29 August 2026 by Wvaske (talk | contribs) (Site styles for the interactive maps: printed-map style name labels)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. */
.dn-map-label {
	background: none;
	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;
}
.dn-map-label::before {
	display: none; /* no tooltip arrow */
}
.dn-map-label-mini {
	font-size: 11px;
}
/* Marker icons: soften the drop shadow the PNGs already carry */
.ext-datamaps-container .leaflet-marker-icon {
	filter: none;
}