dev

Note: After publishing, you may have to bypass your browser's cache to see the changes.

/* main ol element */
ol.imageMapHighlighterArtifact {
	columns: 2;
	margin: 0;
	list-style: none;
	z-index: 500;
}

/* li elements */
li.imageMapHighlighterArtifact {
	white-space: nowrap;
	border: solid 1px transparent;
	border-radius: 6px;
}

/* css for highlighted li element */
li.imageMapHighlighterArtifact.liHighlighting {
	--default-highlight: rgba(var(--theme-link-color--rgb), 0.1);
	background-color: var(--imagemaphighlight-legend-highlight, var(--default-highlight));
}

/* <figcaption> styles */
#content .imageMapHighlighterLegend {
	font-size: inherit;
	text-align: center;
}

/* hack for centering Legend toggle */
#content ol.imageMapHighlighterArtifact {
	position: relative;
	margin-top: 1.5em;
	margin-left: unset;
}
#content ol.imageMapHighlighterArtifact li.mw-collapsible-toggle-li {
	position: absolute;
	inset: -1.5em 0 auto;
}