Difference between revisions of "Template:Ribbon2"

From Geohashing
m (make the wrapper `display:flex` because that works with something floating beside for some reason.)
m
Line 5: Line 5:
 
   margin: 2px 0;
 
   margin: 2px 0;
 
   max-width: 100%;
 
   max-width: 100%;
 +
  width: {{#var:ribbonwidth|auto}};
 
   border: 1px solid lightgray;
 
   border: 1px solid lightgray;
 
   border-left: 5px solid #bada55;
 
   border-left: 5px solid #bada55;
   background-color: #eee;
+
   background-color: {{{background|transparent}}};
 
   grid-template-areas:  
 
   grid-template-areas:  
 
       "icon achv . ."
 
       "icon achv . ."
Line 21: Line 22:
 
.xkcd-ribbon2-icon {
 
.xkcd-ribbon2-icon {
 
   grid-area: icon;
 
   grid-area: icon;
 +
  width: 70px;
 
}
 
}
 
.xkcd-ribbon2-icon a { display: flex; }
 
.xkcd-ribbon2-icon a { display: flex; }

Revision as of 11:24, 26 February 2020

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