Difference between revisions of "MediaWiki:Common.css"

From Swivel Knowledgebase
Jump to: navigation, search
(note doesn't look too good with this standard skin)
(omit font size, not weight)
 
Line 4: Line 4:
 
.mw-body .warning {
 
.mw-body .warning {
 
     display: block;
 
     display: block;
    font-size: 1pc;
 
 
     margin-bottom: 25px;
 
     margin-bottom: 25px;
 
     padding: 10px 20px
 
     padding: 10px 20px
Line 19: Line 18:
 
         border: 1px solid transparent;
 
         border: 1px solid transparent;
 
         border-radius: 5px
 
         border-radius: 5px
 +
}
 +
 +
.mw-body .note,
 +
.mw-body .note sup,
 +
.mw-body .warning sup {
 +
    font-weight: 400
 
}
 
}
  

Latest revision as of 08:33, 18 May 2017

/* CSS placed here will be applied to all skins */

.mw-body .note,
.mw-body .warning {
    display: block;
    margin-bottom: 25px;
    padding: 10px 20px
}
.mw-body .warning {
    background: #fed8c3;
    border: 1px solid #e7590f;
    border-radius: 5px;
    font-weight: 700
}

.mw-body .note {
        background: #d7f2ff;
        border: 1px solid transparent;
        border-radius: 5px
}

.mw-body .note,
.mw-body .note sup,
.mw-body .warning sup {
    font-weight: 400
}

.mw-body .note+.note,
.mw-body .note+.warning,
.mw-body .warning+.note,
.mw-body .warning+.warning {
    margin-top: -15px
}