Difference between revisions of "Template:Ribbon2"

From Geohashing
(mess with style)
m (make the wrapper `display:flex` because that works with something floating beside for some reason.)
Line 12: Line 12:
 
       "icon actn . .";
 
       "icon actn . .";
 
   align-items: center;
 
   align-items: center;
 +
}
 +
.xkcd-ribbon2-wrapper {
 +
  display:flex;
 
}
 
}
 
.xkcd-ribbon2 > * {
 
.xkcd-ribbon2 > * {
Line 65: Line 68:
 
     {{#if:{{{extra|}}}|<div class="xkcd-ribbon2-xtra">{{{extra}}}</div>|}}
 
     {{#if:{{{extra|}}}|<div class="xkcd-ribbon2-xtra">{{{extra}}}</div>|}}
 
   </div>
 
   </div>
</div><noinclude>
+
</div>
 
 
== Tests ==
 
 
 
{{Ribbon2|achievement=foo|action=bar}}
 
{{Ribbon2|achievement=foo|action=bar}}
 
{{#vardefine:ribbontheme|mini}}
 
{{Ribbon2|achievement=foo|action=bar}}
 
{{Ribbon2|achievement=foo|action=bar}}
 

Revision as of 02:40, 15 February 2020

Landgeohash.png
{{{achievement}}}
{{{action}}}