Template:Source-Layout: Difference between revisions
Template page
More actions
use dir HTML attribute instead of direction CSS property so that it applies even without CSS, e.g. text browsers or when the user manually disables CSS |
improve for the dark mode |
||
| Line 1: | Line 1: | ||
<noinclude>{|</noinclude>cellspacing="8" cellpadding="0" class="layouttemplate" style="width:100%; clear:both; text-align:center; margin:0.5em auto; border:1px solid #555555 | <noinclude>{|</noinclude>cellspacing="8" cellpadding="0" class="layouttemplate" style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color: var(--background-color-neutral-subtle, #f6f7f5); color: var(--color-base, #202122); border: var(--border-subtle, 1px solid #555555);" dir="{{Dir|{{{lang|{{int:Lang}}}}}}}" lang="{{{lang|{{int:Lang}}}}}" class="layouttemplate sourcetemplate"<noinclude> | ||
| example | | example | ||
|} | |} | ||