Difference between revisions of "MediaWiki:Common.css"

From SDA Knowledge Base

Jump to: navigation, search
m (updating file path)
(show/hide link style copied from http://en.wikipedia.org/wiki/MediaWiki:Common.css)
Line 15: Line 15:
 
  background: none !important;
 
  background: none !important;
 
  padding-right: 0 !important;
 
  padding-right: 0 !important;
 +
}
 +
 +
.collapseButton {          /* '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;
 
}
 
}

Revision as of 11:51, 31 July 2010

/* 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;
}

.collapseButton {          /* '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