Difference between revisions of "Template:Ribbon2"

From Geohashing
(Set the default icon back to `Landgeohash.png`)
(support for mini theme)
Line 30: Line 30:
 
   align-self: stretch;
 
   align-self: stretch;
 
}
 
}
 +
 +
.xkcd-ribbon2-theme-mini {
 +
  grid-template-areas: "icon achv actn xtra"
 +
}
 +
 +
.xkcd-ribbon2-theme-mini .xkcd-ribbon2-actn {
 +
  padding-left: 0;
 +
}
 +
.xkcd-ribbon2-theme-mini .xkcd-ribbon2-achv::after {
 +
  /* for some reason `content: " ";` doesn't work */
 +
  content: " ";
 +
}
 +
.xkcd-ribbon2-theme-mini img {
 +
  width: 2em;
 +
  height: 2em;
 +
}
 +
 
 +
}
 +
 
}}
 
}}
<div class="xkcd-ribbon2 xkcd-ribbon2-{{#var:ribbontheme|default}}">
+
<div class="xkcd-ribbon2 xkcd-ribbon2-theme-{{#var:ribbontheme|default}}">
 
   <div class="xkcd-ribbon2-icon">[[File:{{{icon|Landgeohash.png}}}|135px]]</div>
 
   <div class="xkcd-ribbon2-icon">[[File:{{{icon|Landgeohash.png}}}|135px]]</div>
 
   <div class="xkcd-ribbon2-achv">{{{achievement}}}</div>
 
   <div class="xkcd-ribbon2-achv">{{{achievement}}}</div>

Revision as of 12:30, 11 February 2020

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