Template:Legend/styles.css: Difference between revisions

From Wikipedia
Jump to navigation Jump to search
Tachyony (talk | contribs)
Imported page
 
Tachyony (talk | contribs)
No edit summary
 
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
.legend {
.legend {
page-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
break-inside: avoid-column;
}
}
.legend-color {
.legend-color {
display: inline-block;
display: inline-block;

Latest revision as of 03:49, 20 January 2022

/* {{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!*/}