Difference between revisions of "Template:Category"
From ALttP Speedrunning Wiki
Line 6: | Line 6: | ||
#category .glitches .glitch { | #category .glitches .glitch { | ||
display: inline-block; | display: inline-block; | ||
− | + | padding: 2px; | |
− | } | + | border: 1px solid #bbb; |
+ | border-radius: 4px; | ||
+ | line-height: 0.9em; | ||
+ | } | ||
+ | |||
+ | #category .glitches .allowed { | ||
+ | background: #cec; | ||
+ | } | ||
+ | #category .glitches .allowed .fa-ban { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #category .glitches .banned { | ||
+ | background: #ecc; | ||
+ | } | ||
+ | #category .glitches .allowed .fa-check { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
}} | }} | ||
<div class="alttp-box" id="category"> | <div class="alttp-box" id="category"> | ||
Line 16: | Line 34: | ||
<div class="glitches"> | <div class="glitches"> | ||
− | <div class="glitch | + | <div class="glitch {{#if: {{{rule_sq|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Save & Quit|S+Q]]</div> |
− | <div class="glitch | + | <div class="glitch {{#if: {{{rule_yba|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Yuzuhara's Bottle Adventure|YBA]]</div> |
− | <div class="glitch | + | <div class="glitch {{#if: {{{rule_oob|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Out of Bounds|OoB]]</div> |
− | <div class="glitch | + | <div class="glitch {{#if: {{{rule_eg|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Exploration Glitch|EG]]</div> |
− | <div class="glitch | + | <div class="glitch {{#if: {{{rule_semieg|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Exploration Glitch#Semi EG|Semi-EG]]</div> |
</div> | </div> | ||
[[ Categories|List of categories ]] | [[ Categories|List of categories ]] | ||
</div> | </div> |