Template:Legend: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(Updated from sandbox to use Template:Greater color contrast ratio to ensure accessible labels by default)
(remove unnecessary vendor CSS)
Line 4: Line 4:
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}} <!--
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}} <!--
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!--
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!--
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}} <!--
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}}<!--
-->{{#if:{{{size|}}}|font-size:{{{size}}};}} <!--
-->{{#if:{{{size|}}}|font-size:{{{size}}};}}"><!--
-->-webkit-column-break-inside: avoid;"><!--
-->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}</span><!--
-->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}</span><!--
-->&nbsp;{{{2|}}}</div><!--
-->&nbsp;{{{2|}}}</div><!--

Revision as of 05:20, 9 January 2021