Template:Legend/styles.css: Difference between revisions
Appearance
Content deleted Content added
m Protected "Template:Legend/styles.css": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* {{pp-template}} */ |
|||
.legend { |
.legend { |
||
page-break-inside: avoid; |
page-break-inside: avoid; |
||
Line 6: | Line 8: | ||
.legend-color { |
.legend-color { |
||
display: inline-block; |
display: inline-block; |
||
width: 1. |
min-width: 1.25em; |
||
height: 1. |
height: 1.25em; |
||
line-height: 1.25; |
|||
margin: 1px 0; |
margin: 1px 0; |
||
text-align: center; |
text-align: center; |
||
Line 13: | Line 16: | ||
background-color: transparent; |
background-color: transparent; |
||
color: black; |
color: black; |
||
font-size: 100%; |
|||
} |
} |
||
.legend-text {/*empty for now, but part of the design!*/} |
Latest revision as of 19:24, 3 October 2020
/* {{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!*/}