Module:Location map/styles.css: Difference between revisions

Jump to navigation Jump to search
imported>MusikBot II
m (Removing protection templates from unprotected page (more info))
imported>Jackmcbarn
(make it more clear what's what)
Line 1: Line 1:
/* */
/* The "Outer Div" for marks, which contains both the mark itself and the text label */
.locmap .od {
.locmap .od {
position: absolute;
position: absolute;
}
}


/* The "Image Div" for marks, which contains the mark itself */
.locmap .id {
.locmap .id {
position: absolute;
position: absolute;
Line 9: Line 10:
}
}


/* 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 {
.locmap .l0 {
font-size: 0%;
font-size: 0%;
Line 14: Line 16:
}
}


/* The "Label Div" for marks when the label is to be positioned vertically (above or below the mark) */
.locmap .pv {
.locmap .pv {
line-height: 110%;
line-height: 110%;
position: absolute;
position: absolute;
text-align: center;
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 {
.locmap .pl {
line-height: 110%;
line-height: 110%;
Line 25: Line 33:
top: -0.75em;
top: -0.75em;
text-align: right;
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 {
.locmap .pr {
line-height: 110%;
line-height: 110%;
Line 33: Line 47:
text-align: left;
text-align: left;
}
}
.locmap .pv>div {
display: inline;
padding: 1px;
}
.locmap .pl>div {
display: inline;
padding: 1px;
float: right;
}
.locmap .pr>div {
.locmap .pr>div {
display: inline;
display: inline;

Revision as of 01:01, 10 August 2020

/* 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;
}