Jump to content

Template:Legend/styles.css: Difference between revisions

From Elite Dangerous Wiki
Updated (a touch boldly) based on discussion on talk; sets legend-color size and line-height to 1.25 em, makes width minimum, not fixed, and removes font-size
 
m Protected "Template:Legend/styles.css": Pre-registration protection review: Protection notice: pp-template ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
 
(No difference)

Latest revision as of 21:22, 31 October 2026

/* {{pp-template}} */

.legend {
	page-break-inside: avoid;
	break-inside: avoid-column;
}

.legend-color {
	display: inline-block;
	min-width: 1.25em;
	height: 1.25em;
	line-height: 1.25;
	margin: 1px 0;
	text-align: center;
	border: 1px solid black;
	background-color: transparent;
	color: black;
}

.legend-text {/*empty for now, but part of the design!*/}