Difference between revisions of "MediaWiki:Common.css"
| Line 10: | Line 10: | ||
padding: 12px 14px; | padding: 12px 14px; | ||
margin: 1em auto; | margin: 1em auto; | ||
| + | max-width: 800px; | ||
border-radius: 6px; | border-radius: 6px; | ||
} | } | ||
Revision as of 01:22, 11 February 2026
.mw-warning-box {
display: flex;
align-items: center;
gap: 12px;
border: 1px solid #e6c200;
background-color: #fff8d6;
color: #333;
padding: 12px 14px;
margin: 1em auto;
max-width: 800px;
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;
}
.mw-info-box {
display: flex;
align-items: center;
gap: 12px;
border: 1px solid #6aa7e6;
background-color: #eaf3ff;
color: #333;
padding: 12px 14px;
margin: 1em 0;
border-radius: 6px;
}
.mw-info-icon {
font-size: 1.8em;
line-height: 1;
margin-top: 2px;
}
.mw-info-content {
flex: 1;
}
.mw-info-title {
font-weight: bold;
margin-bottom: 4px;
}
.mw-info-text {
color: #222;
}