Difference between revisions of "MediaWiki:Common.css"
| (7 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| − | gap: | + | gap: 20px; |
border: 1px solid #e6c200; | border: 1px solid #e6c200; | ||
| Line 8: | Line 8: | ||
color: #333; | color: #333; | ||
| − | padding: | + | padding: 20px 20px; |
| − | margin: 1em | + | margin: 1em auto; |
| + | max-width: 800px; | ||
border-radius: 6px; | border-radius: 6px; | ||
} | } | ||
| Line 29: | Line 30: | ||
.mw-warning-text { | .mw-warning-text { | ||
| + | color: #222; | ||
| + | } | ||
| + | |||
| + | .mw-info-box { | ||
| + | display: flex; | ||
| + | align-items: center; | ||
| + | gap: 20px; | ||
| + | |||
| + | border: 1px solid #6aa7e6; | ||
| + | background-color: #eaf3ff; | ||
| + | color: #333; | ||
| + | |||
| + | padding: 20px 20px; | ||
| + | margin: 1em auto; | ||
| + | max-width: 800px; | ||
| + | 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; | color: #222; | ||
} | } | ||
Latest revision as of 01:25, 11 February 2026
.mw-warning-box {
display: flex;
align-items: center;
gap: 20px;
border: 1px solid #e6c200;
background-color: #fff8d6;
color: #333;
padding: 20px 20px;
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: 20px;
border: 1px solid #6aa7e6;
background-color: #eaf3ff;
color: #333;
padding: 20px 20px;
margin: 1em auto;
max-width: 800px;
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;
}