Template:Legend/styles.css: Difference between revisions

From Xomnipedia
Jump to navigation Jump to search
Content added Content deleted
(Added legend-text class with font-size: 95%;)
(Laosy changed the content model of the page Template:Legend/styles.css from "plain text" to "Sanitized CSS")
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
.legend-color {
.legend-color {
display: inline-block;
display: inline-block;
width: 1.5em;
min-width: 1.25em;
height: 1.5em;
height: 1.25em;
line-height: 1.25;
margin: 1px 0;
margin: 1px 0;
text-align: center;
text-align: center;
Line 15: Line 16:
background-color: transparent;
background-color: transparent;
color: black;
color: black;
font-size: 100%;
}
}


.legend-text {
.legend-text {/*empty for now, but part of the design!*/}
font-size: 95%;
}

Latest revision as of 14:50, 1 December 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!*/}