Difference between revisions of "MediaWiki:Common.css"

From XcelData Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
.alert {  
 
.alert {  
 
     padding: .75rem 1.25rem;
 
     padding: .75rem 1.25rem;
 +
    margin-top: 0.5rem;
 
     margin-bottom: 1rem;
 
     margin-bottom: 1rem;
     border: 1px solid transparent;
+
     border: 1px solid #666;
 
     border-radius: .25rem;
 
     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;
}