Template:Color sample: Difference between revisions
Template page
More actions
Content deleted Content added
add "forced-color-adjust: none" to swatches so they work in high contrast modes |
add alias "border-color" for "border" |
||
| Line 1: | Line 1: | ||
<span style="display:inline-block;border:1.62px solid {{{border| |
<span style="display:inline-block;border:{{{border-width|1.62px}}} solid {{{border-color|{{{border|currentColor}}}}}};vertical-align:text-top;" title="{{title case|{{{description|{{{1}}}}}}}}"><span class="mw-no-invert" style="display:block;padding:0;width:{{{w|{{{2|1}}}}}}em;height:{{{h|{{{2|1}}}}}}em;background:{{{1}}};color:inherit;forced-color-adjust:none;"> </span></span><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
||