Template:Legend/styles.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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) |
Vaynegarden (talk | contribs) m (1 revision imported from wikipedia:Template:Legend/styles.css: Imported Wikipedia Templates for Legend template.) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
/* {{pp-template}} */ |
|||
.legend { |
.legend { |
||
page-break-inside: avoid; |
page-break-inside: avoid; |
Latest revision as of 18:04, 25 February 2023
.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!*/}