Template:Legend/styles.css

/* */

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

.legend-color { display: inline-block; width: 1.5em; height: 1.5em; margin: 1px 0; text-align: center; border: 1px solid black; background-color: transparent; color: black; font-size: 100%; }

.legend-text { font-size: 95%; }