Difference between revisions of "MediaWiki:Common.css"
| Line 1: | Line 1: | ||
| − | .mw- | + | .mw-warning-box { |
display: flex; | display: flex; | ||
| − | align-items: | + | align-items: flex-start; |
gap: 12px; | gap: 12px; | ||
| + | |||
| + | border: 1px solid #e6c200; | ||
| + | background-color: #fff8d6; | ||
| + | color: #333; | ||
padding: 12px 14px; | padding: 12px 14px; | ||
margin: 1em 0; | margin: 1em 0; | ||
border-radius: 6px; | border-radius: 6px; | ||
| − | |||
} | } | ||
| − | .mw- | + | .mw-warning-icon { |
font-size: 1.8em; | font-size: 1.8em; | ||
line-height: 1; | line-height: 1; | ||
| + | margin-top: 2px; | ||
} | } | ||
| − | .mw- | + | .mw-warning-content { |
flex: 1; | flex: 1; | ||
} | } | ||
| − | .mw- | + | .mw-warning-title { |
font-weight: bold; | font-weight: bold; | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
} | } | ||
| − | .mw | + | .mw-warning-text { |
| − | + | color: #222; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Revision as of 01:16, 11 February 2026
.mw-warning-box {
display: flex;
align-items: flex-start;
gap: 12px;
border: 1px solid #e6c200;
background-color: #fff8d6;
color: #333;
padding: 12px 14px;
margin: 1em 0;
border-radius: 6px;
}
.mw-warning-icon {
font-size: 1.8em;
line-height: 1;
margin-top: 2px;
}
.mw-warning-content {
flex: 1;
}
.mw-warning-title {
font-weight: bold;
margin-bottom: 4px;
}
.mw-warning-text {
color: #222;
}