Difference between revisions of "MediaWiki:Common.css"
From Swivel Knowledgebase
(port CSS for notes and warnings from kb2) |
(omit font size, not weight) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
.mw-body .note, | .mw-body .note, | ||
.mw-body .warning { | .mw-body .warning { | ||
− | |||
display: block; | display: block; | ||
− | |||
margin-bottom: 25px; | margin-bottom: 25px; | ||
padding: 10px 20px | padding: 10px 20px | ||
Line 15: | Line 13: | ||
font-weight: 700 | font-weight: 700 | ||
} | } | ||
+ | |||
+ | .mw-body .note { | ||
+ | background: #d7f2ff; | ||
+ | border: 1px solid transparent; | ||
+ | border-radius: 5px | ||
+ | } | ||
+ | |||
.mw-body .note, | .mw-body .note, | ||
.mw-body .note sup, | .mw-body .note sup, | ||
.mw-body .warning sup { | .mw-body .warning sup { | ||
font-weight: 400 | 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 }