Difference between revisions of "MediaWiki:Common.css"
From Swivel Knowledgebase
(port CSS for notes and warnings from kb2) |
(adapt: don't fade tesxt) |
||
Line 3: | Line 3: | ||
.mw-body .note, | .mw-body .note, | ||
.mw-body .warning { | .mw-body .warning { | ||
− | |||
display: block; | display: block; | ||
font-size: 1pc; | font-size: 1pc; |
Revision as of 12:26, 17 May 2017
/* CSS placed here will be applied to all skins */ .mw-body .note, .mw-body .warning { display: block; font-size: 1pc; margin-bottom: 25px; padding: 10px 20px } .mw-body .warning { background: #fed8c3; border: 1px solid #e7590f; border-radius: 5px; font-weight: 700 } .mw-body .note, .mw-body .note sup, .mw-body .warning sup { font-weight: 400 } .mw-body .note { background: #e3f7dc; border: 1px solid #6a0cd2; border-radius: 5px } .mw-body .note+.note, .mw-body .note+.warning, .mw-body .warning+.note, .mw-body .warning+.warning { margin-top: -15px }