Difference between revisions of "MediaWiki:Common.css"
(Created page with "→CSS placed here will be applied to all skins: .alert { border: 1px solid #666; }") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| − | .alert { border: 1px solid #666; } | + | .alert { |
| + | padding: .75rem 1.25rem; | ||
| + | margin-top: 0.5rem; | ||
| + | margin-bottom: 1rem; | ||
| + | border: 1px solid #666; | ||
| + | border-radius: .25rem; | ||
| + | } | ||
| + | |||
| + | .alert-success { | ||
| + | background-color: #dff0d8; | ||
| + | border-color: #d0e9c6; | ||
| + | color: #3c763d; | ||
| + | } | ||
| + | .alert-info { | ||
| + | background-color: #d9edf7; | ||
| + | border-color: #bcdff1; | ||
| + | color: #31708f; | ||
| + | } | ||
| + | .alert-warning { | ||
| + | background-color: #fcf8e3; | ||
| + | border-color: #faf2cc; | ||
| + | color: #8a6d3b; | ||
| + | } | ||
| + | .alert-danger { | ||
| + | background-color: #f2dede; | ||
| + | border-color: #ebcccc; | ||
| + | color: #a94442; | ||
| + | } | ||
Latest revision as of 18:01, 25 April 2018
/* CSS placed here will be applied to all skins */
.alert {
padding: .75rem 1.25rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
border: 1px solid #666;
border-radius: .25rem;
}
.alert-success {
background-color: #dff0d8;
border-color: #d0e9c6;
color: #3c763d;
}
.alert-info {
background-color: #d9edf7;
border-color: #bcdff1;
color: #31708f;
}
.alert-warning {
background-color: #fcf8e3;
border-color: #faf2cc;
color: #8a6d3b;
}
.alert-danger {
background-color: #f2dede;
border-color: #ebcccc;
color: #a94442;
}