Template:Colored box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- also influenced by TemplateStyles Colored Box template (https://www.mediawiki.org/wiki/Template:Colored_box), but doesn't require TemplateStyles --> | <!-- also influenced by TemplateStyles Colored Box template (https://www.mediawiki.org/wiki/Template:Colored_box), but doesn't require TemplateStyles --> | ||
<div style="box-shadow: 0 0 0.2em #999999; border-radius: 0.2em; margin: 0.5em 0.5em 1em 0.5em; background: {{{background-content-color|#f8f9fa}}}; {{{style|}}};"> | <div style="box-shadow: 0 0 0.2em #999999; border-radius: 0.2em; margin: 0.5em 0.5em 1em 0.5em; background: {{{background-content-color|#f8f9fa}}}; {{{style|}}};"> | ||
<div style="background: {{{background-title-color|#eaecf0}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em; | <div style="background: {{{background-title-color|#eaecf0}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em;; align-items: center;"> | ||
<div style="color: {{{title-color|#000000}}}; font-weight: bold; line-height: 20px; | <div style="color: {{{title-color|#000000}}}; font-weight: bold; line-height: 20px;">{{{title}}}</div> | ||
</div> | </div> | ||
<div style="padding: 1em; padding-left: 1em;"> | <div style="padding: 1em; padding-left: 1em;"> |
Latest revision as of 11:11, 31 July 2024
{{{title}}}
{{{content}}}