Difference between revisions of "Template:B"
From ALttP Speedrunning Wiki
Line 75: | Line 75: | ||
.snes-button-dpad { | .snes-button-dpad { | ||
display: inline-block; | display: inline-block; | ||
− | width: | + | width: 30px; |
− | height: | + | height: 30px; |
} | } | ||
Line 82: | Line 82: | ||
display: block; | display: block; | ||
position: relative; | position: relative; | ||
− | width: | + | width: 10px; |
− | height: | + | height: 10px; |
background: #000000; | background: #000000; | ||
border-radius: 20px; | border-radius: 20px; | ||
z-index: 9000; | z-index: 9000; | ||
− | left: | + | left: 10px; |
− | bottom: | + | bottom: 30px; |
} | } | ||
Line 100: | Line 100: | ||
border-width: 0; | border-width: 0; | ||
border-color: #595E62; | border-color: #595E62; | ||
− | width: | + | width: 10px; |
− | height: | + | height: 10px; |
} | } | ||
.snes-button-dpad-vert { | .snes-button-dpad-vert { | ||
− | left: | + | left: 10px; |
− | border-width: | + | border-width: 10px 0; |
} | } | ||
.snes-button-dpad-horz { | .snes-button-dpad-horz { | ||
− | bottom: | + | bottom: 20px; |
− | border-width: 0 | + | border-width: 0 10px; |
} | } | ||
Revision as of 19:31, 2 June 2018
Makes SNES buttons pretty.
{{B|A}} |
|
{{B|B}} |
|
{{B|X}} |
|
{{B|Y}} |
|
{{B|L}} |
|
{{B|R}} |
|
{{B|Start}} |
|
{{B|Select}} |
|
{{B|Directional}} |
|
{{B|D}} |
|
{{B|^}} |
|
{{B|v}} |
|
{{B|<}} |
|
{{B|>}} |
|
{{B|^<}} |
|
{{B|^>}} |
|
{{B|^v}} |
|
{{B|v<}} |
|
{{B|v>}} |
|
{{B|^<}} |
|
{{B|^v<>}} |
Chaining
Multiple buttons can be displayed by a single template call, with several delimiters being recognized as special text.
{{B|A|B|<|>}} |
|
{{B|A|+|B||+|<^}} |
|
{{B|A|,|B|,|<|,|>}} |
|
{{B|A|;|B|;|<|;|>}} |
The above documentation is transcluded from Template:B/doc. (edit | history) Please add categories to the /doc subpage. Subpages of this template. |