MediaWiki:Common.css

From SDA Knowledge Base

Revision as of 17:22, 27 July 2010 by Najzere (Talk | contribs)

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;
}
Personal tools