Difference between revisions of "Template:Ribbon2"
From Geohashing
(Better mini support) |
m (Less padding for mini ribbons) |
||
Line 21: | Line 21: | ||
} | } | ||
.xkcd-ribbon2-icon a { display: flex; } | .xkcd-ribbon2-icon a { display: flex; } | ||
+ | |||
.xkcd-ribbon2-achv { | .xkcd-ribbon2-achv { | ||
grid-area: achv; | grid-area: achv; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
+ | |||
.xkcd-ribbon2-actn { | .xkcd-ribbon2-actn { | ||
grid-area: actn; | grid-area: actn; | ||
padding-left: 1em; | padding-left: 1em; | ||
} | } | ||
+ | |||
.xkcd-ribbon2-xtra, .xkcd-ribbon2-imag { | .xkcd-ribbon2-xtra, .xkcd-ribbon2-imag { | ||
padding-left: 10px; | padding-left: 10px; | ||
Line 37: | Line 40: | ||
grid-row: span 2; | grid-row: span 2; | ||
} | } | ||
+ | |||
.xkcd-ribbon2-theme-mini { | .xkcd-ribbon2-theme-mini { | ||
− | grid-template-areas: "icon achv actn xtra" | + | grid-template-areas: "icon achv actn xtra"; |
+ | padding: 0; | ||
} | } | ||
.xkcd-ribbon2-theme-mini .xkcd-ribbon2-actn { | .xkcd-ribbon2-theme-mini .xkcd-ribbon2-actn { |
Revision as of 05:26, 14 February 2020
{{{achievement}}}
{{{action}}}