Template:WarningBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div style=" | <div class="mw-message-box" style=" | ||
display: flex; | display: flex; | ||
align-items: flex-start; | align-items: flex-start; | ||
margin: 10px 0; | margin: 10px 0; | ||
border-left: 6px solid {{{color|#999}}}; | border-left: 6px solid {{{color|#999}}}; | ||
background-color: {{{color|#999}}} | background-color: {{{color|#999}}}15; | ||
padding: | padding: 15px; | ||
border-radius: | border-radius: 0; | ||
font-family: | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Lato, Helvetica, Arial, sans-serif; | ||
font-size: | font-size: 14px; | ||
line-height: 1. | line-height: 1.6; | ||
color: #222; | |||
border-top: 1px solid #ddd; | |||
border-right: 1px solid #ddd; | |||
border-bottom: 1px solid #ddd; | |||
"> | "> | ||
<div style=" | <div style=" | ||
margin-right: | margin-right: 15px; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
margin-top: | margin-top: 1px; | ||
width: | width: 20px; | ||
height: | height: 20px; | ||
background- | border: 1px solid #ccc; | ||
background-color: #f8f9fa; | |||
display: flex; | |||
align-items: center; | |||
"></div> | justify-content: center; | ||
<div style="flex: 1;"> | font-size: 12px; | ||
{{{text| | color: #666; | ||
">⚠</div> | |||
<div style="flex: 1; margin: 0; padding: 0;"> | |||
{{{text|Message box content}}} | |||
</div> | </div> | ||
</div><includeonly>[[Category:Pages with warnings]]</includeonly> | </div><includeonly>[[Category:Pages with warnings]]</includeonly> | ||