MediaWiki:Common.css

From SDA Knowledge Base

Revision as of 15:51, 31 July 2010 by Najzere (Talk | contribs)

(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: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

/* External link icon for YouTube */
#bodyContent a[href ^="http://www.youtube.com"],
#article a[href ^="http://www.youtube.com"],
#contentSub a[href ^="http://www.youtube.com"] {
 background: url(http://speeddemosarchive.com/w/images/4/4c/YouTube_icon.png) center right no-repeat !important;
 padding-right: 20px !important;
}

/* Suppressing YouTube icon when plainlinks class is used */
#bodyContent .plainlinks a[href ^="http://www.youtube.com"],
#article .plainlinks a[href ^="http://www.youtube.com"],
#contentSub .plainlinks a[href ^="http://www.youtube.com"] {
 background: none !important;
 padding-right: 0 !important;
}

.NavToggle{          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]] are styled here   */
    text-align: right;     /* so they can be customised.                */
    font-size: .9em;
    width: auto;
}
Personal tools