Difference between revisions of "Template:Colored box/style.css"
Jump to navigation
Jump to search
en>Krinkle (Created page with ".mw-tpl-colorbox { box-sizing: border-box; margin: 0.5em 0.5em 1em 0.5em; border-radius: 0.2em; background: #fff; box-shadow: 0 0 0.2em #999999; } .mw-tpl-colorbox-title...") |
en>Tacsipacsi (clear output here instead of using {{clr}}) |
||
Line 25: | Line 25: | ||
.mw-tpl-colorbox-content { | .mw-tpl-colorbox-content { | ||
padding: 0.5em 1em 0.5em 1em; | padding: 0.5em 1em 0.5em 1em; | ||
} | |||
.mw-tpl-colorbox-content::after { | |||
content: ""; | |||
display: block; | |||
clear: both; | |||
} | } |
Revision as of 20:06, 7 June 2021
.mw-tpl-colorbox { box-sizing: border-box; margin: 0.5em 0.5em 1em 0.5em; border-radius: 0.2em; background: #fff; box-shadow: 0 0 0.2em #999999; } .mw-tpl-colorbox-title { background: #eaecf0; color: #000000; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em; } .mw-tpl-colorbox-title-icon { opacity: 0.8; } .mw-tpl-colorbox-title-corner { float: right; font-size: 0.7em; } .mw-tpl-colorbox-content { padding: 0.5em 1em 0.5em 1em; } .mw-tpl-colorbox-content::after { content: ""; display: block; clear: both; }