Difference between revisions of "Template:B"
From ALttP Speedrunning Wiki
Line 81: | Line 81: | ||
.snes-button-dpad-mid { | .snes-button-dpad-mid { | ||
display: block; | display: block; | ||
− | position: | + | position: absolute; |
width: 14px; | width: 14px; | ||
height: 14px; | height: 14px; | ||
Line 88: | Line 88: | ||
z-index: 9000; | z-index: 9000; | ||
left: 14px; | left: 14px; | ||
− | bottom: | + | bottom: 14px; |
} | } | ||
.snes-button-dpad-vert, | .snes-button-dpad-vert, | ||
.snes-button-dpad-horz { | .snes-button-dpad-horz { | ||
− | position: | + | position: absolute; |
display: block; | display: block; | ||
background: #595E62; | background: #595E62; | ||
Line 99: | Line 99: | ||
border-style: solid; | border-style: solid; | ||
border-width: 0; | border-width: 0; | ||
− | border-color: # | + | border-color: #595E62; |
+ | width: 14px; | ||
+ | height: 14px; | ||
} | } | ||
.snes-button-dpad-vert { | .snes-button-dpad-vert { | ||
left: 14px; | left: 14px; | ||
− | width: 14px; | + | border-width: 14px 0; |
− | + | } | |
− | + | ||
− | + | .snes-button-dpad-horz { | |
+ | top: 14px; | ||
+ | border-width: 0 14px; | ||
} | } | ||
.snes-button-dpad-up .snes-button-dpad-vert { | .snes-button-dpad-up .snes-button-dpad-vert { | ||
− | + | border-top-color: #FF8080; | |
− | border-top- | ||
} | } | ||
.snes-button-dpad-down .snes-button-dpad-vert { | .snes-button-dpad-down .snes-button-dpad-vert { | ||
− | + | border-bottom-color: #FF8080; | |
− | border-bottom- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.snes-button-dpad-left .snes-button-dpad-horz { | .snes-button-dpad-left .snes-button-dpad-horz { | ||
− | border-left- | + | border-left-color: #FF8080; |
} | } | ||
.snes-button-dpad-right .snes-button-dpad-horz { | .snes-button-dpad-right .snes-button-dpad-horz { | ||
− | border-right- | + | border-right-color: #FF8080; |
} | } | ||
Revision as of 19:25, 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. |