Difference between revisions of "Template:Kbd"

From Space Engineers Wiki
Jump to: navigation, search
(kbd html element and styling)
 
m
Line 1: Line 1:
 
<onlyinclude><kbd style="background:#EEEEEE; border: 1px solid darkgray; border-radius: 4px; padding: 0.2em">{{#switch:{{lc:{{{1}}}}}
 
<onlyinclude><kbd style="background:#EEEEEE; border: 1px solid darkgray; border-radius: 4px; padding: 0.2em">{{#switch:{{lc:{{{1}}}}}
|left=<span style="font-size: 2em">←</span>
+
|left=<span style="font-size: 2em; line-height: 0.5em">←</span>
|right=<span style="font-size: 2em">→</span>
+
|right=<span style="font-size: 2em; line-height: 0.5em">→</span>
|up=<span style="font-size: 2em">↑</span>
+
|up=<span style="font-size: 2em; line-height: 0.5em">↑</span>
|down=<span style="font-size: 2em">↓</span>
+
|down=<span style="font-size: 2em; line-height: 0.5em">↓</span>
 
|enter=↵&nbsp;Enter
 
|enter=↵&nbsp;Enter
 
|tab=↹&nbsp;Tab
 
|tab=↹&nbsp;Tab

Revision as of 17:14, 26 April 2020

{{{1}}}

Inserts a <kbd>Key</kbd> element with some basic styling.