Jump to content

Module:Coordinates/sandbox/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Galobtter (talk | contribs) at 19:03, 10 May 2023 (hm). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
/* Geographical coordinates defaults. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]]. */
.geo-default,
.geo-dms,
.geo-dec {
	display: inline;
}

.geo-nondefault,
.geo-multi-punct {
	display: none;
}

.longitude,
.latitude {
	white-space: nowrap;
}

/** Kartographer does not work properly if using desktop site on mobile -
either crashes or does not respond to touch events properly.
So switch to geohack link in that case.
**/
@media screen and (pointer: coarse) {
	:not(.skin-minerva) .coord-kartographer {
		display: none;
	}
	:not(.skin-minerva) .coord-geohack {
		display: inline;
	}
}