Difference between revisions of "Template:Alert"
m |
m |
||
Line 1: | Line 1: | ||
<div style="{{#switch: {{{1}}} | <div style="{{#switch: {{{1}}} | ||
− | | info = border-color: #bcdff1; color: #31708f; {{#switch:{{{ | + | | info = border-color: #bcdff1; color: #31708f; {{#switch:{{{opt}}}|bg = background-color: #d9edf7;|}} |
− | | success = border-color: #d0e9c6; color: #3c763d; {{#switch:{{{ | + | | success = border-color: #d0e9c6; color: #3c763d; {{#switch:{{{opt}}}|bg = background-color: #dff0d8;|}} |
− | | warning = border-color: #faf2cc; color: #8a6d3b; {{#switch:{{{ | + | | warning = border-color: #faf2cc; color: #8a6d3b; {{#switch:{{{opt}}}|bg = background-color: #fcf8e3;|}} |
− | | danger = border-color: #ebcccc; color: #a94442; {{#switch:{{{ | + | | danger = border-color: #ebcccc; color: #a94442; {{#switch:{{{opt}}}|bg = background-color: #f2dede;|}} |
− | | #default = border-color: #bcdff1; color: #3c763d; {{#switch:{{{ | + | | #default = border-color: #bcdff1; color: #3c763d; {{#switch:{{{opt}}}|bg = background-color: #d9edf7;|}} |
}} | }} | ||
border-left-width: 3px; | border-left-width: 3px; | ||
border-right-width: 3px; | border-right-width: 3px; | ||
+ | {{#switch:{{{opt}}}|full-border = border-top-style: solid;border-bottom-style: solid;|}} | ||
border-left-style: solid; | border-left-style: solid; | ||
border-right-style: solid; | border-right-style: solid; | ||
− | padding | + | padding: 2px 5px; |
− | + | margin-top: 5px; | |
border-radius: 5px; | border-radius: 5px; | ||
display: table; | display: table; |
Revision as of 06:27, 16 June 2017
{{{2}}}