Difference between revisions of "Template:Category"

From ALttP Speedrunning Wiki
Jump to: navigation, search
Line 6: Line 6:
 
#category .glitches .glitch {
 
#category .glitches .glitch {
 
   display: inline-block;
 
   display: inline-block;
   margin-right: 6px;
+
   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"><i class="fa {{#if: {{{rule_sq|}}} | fa-check | fa-ban }}"></i> [[Save & Quit|S+Q]]</div>
+
     <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"><i class="fa {{#if: {{{rule_yba|}}} | fa-check | fa-ban }}"></i> [[Yuzuhara's Bottle Adventure|YBA]]</div>
+
     <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"><i class="fa {{#if: {{{rule_oob|}}} | fa-check | fa-ban }}"></i> [[Out of Bounds|OoB]]</div>
+
     <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"><i class="fa {{#if: {{{rule_eg|}}} | fa-check | fa-ban }}"></i> [[Exploration Glitch|EG]]</div>
+
     <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"><i class="fa {{#if: {{{rule_semieg|}}} | fa-check | fa-ban }}"></i> [[Exploration Glitch#Semi EG|Semi-EG]]</div>
+
     <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>

Revision as of 15:01, 4 January 2017

Unknown
Category type
Unknown
Leaderboards
[{{{srclink}}} SRC]

List of categories