MediaWiki:Common.css

From Swivel Knowledgebase
Revision as of 12:24, 17 May 2017 by Admin (talk | contribs) (port CSS for notes and warnings from kb2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

.mw-body .note,
.mw-body .warning {
    color: #444b50;
    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
}