Template:Key/box: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (adding small margin to sides. (lowering visual merging effect of some characters with box-borders))
m (smoother button (CSS-3))
Line 1: Line 1:
<includeonly><span style="background-color:#F0F0F0; width:32px; border-style:outset; border-width:1px; margin:0 2px 0 1px; padding:0 2px; clear:none">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude>
<includeonly><span style="
 
  background-color: #F8F8F8;
  //width: 32px;
  border: 1px solid #AAA;
  border-radius: 0.2em; //CSS3;
  box-shadow: 0.1em 0.2em 0.2em #ddd; //CSS3;
  margin: 0 0.15em 0 0.05em;
  padding: 0.1em 0.3em;
  font-family: inherit;
  //font-size: 0.85em;
  clear: none;
 
">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 18:06, 29 April 2015

Template documentation (for the template shown above, sometimes hidden or invisible)

Example of Appearance

Example.

Usage

E{{Key/box|x}}ample.

Or "k" can be used as shortcut.

E{{k|x}}ample.

Visit Template:Key/box/doc to edit this text! (How does this work?)