Jump to content

Module:Location map/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jackmcbarn (talk | contribs) at 01:01, 10 August 2020 (make it more clear what's what). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
/* The "Outer Div" for marks, which contains both the mark itself and the text label */
.locmap .od {
	position: absolute;
}

/* The "Image Div" for marks, which contains the mark itself */
.locmap .id {
	position: absolute;
	line-height: 0;
}

/* The "Label Div" for marks when the size is 0, used when the label should be searchable and focusable with the keyboard, but be completely invisible otherwise */
.locmap .l0 {
	font-size: 0%;
	position: absolute;
}

/* The "Label Div" for marks when the label is to be positioned vertically (above or below the mark) */
.locmap .pv {
	line-height: 110%;
	position: absolute;
	text-align: center;
}
.locmap .pv>div {
	display: inline;
	padding: 1px;
}

/* The "Label Div" for marks when the label is to be positioned to the left of the mark */
.locmap .pl {
	line-height: 110%;
	position: absolute;
	top: -0.75em;
	text-align: right;
}
.locmap .pl>div {
	display: inline;
	padding: 1px;
	float: right;
}

/* The "Label Div" for marks when the label is to be positioned to the right of the mark */
.locmap .pr {
	line-height: 110%;
	position: absolute;
	top: -0.75em;
	text-align: left;
}
.locmap .pr>div {
	display: inline;
	padding: 1px;
	float: left;
}