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