Difference between revisions of "Template:Ribbon2"
From Geohashing
(add a comment about .ribbon2-wrapper) |
(move default styles inside the default selector) |
||
Line 12: | Line 12: | ||
border-left: 5px solid; | border-left: 5px solid; | ||
border-radius: 1px; | border-radius: 1px; | ||
+ | align-items: center; | ||
+ | } | ||
+ | |||
+ | .ribbon2[data-ribbon2-theme=default] { | ||
+ | display: grid; | ||
+ | grid-template-areas: | ||
+ | "icon achievement achievement image" | ||
+ | "icon . action image"; | ||
+ | grid-template-columns: auto 3em 1fr auto; | ||
+ | gap: 0 1ch; | ||
align-items: center; | align-items: center; | ||
Line 39: | Line 49: | ||
align-self: stretch; | align-self: stretch; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Revision as of 02:12, 18 November 2024
{{{achievement}}}
{{{action}}}
Tests
asdfasdf
{{{achievement}}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
DanQ earned the Dark Ages achievement
|
SIGSTKFLT earned the Frozen Geohash Achievement
|
{{{achievement}}}
{{{action}}}
Mini
{{{achievement}}}
{{{action}}}
{{{achievement}}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Micro
foo
{{{action}}}
TODO
Handle long actions in mini and micro themesSplit themes into their own templates?Make the {{{image}}} parameter work