Difference between revisions of "MediaWiki:Common.css"

From SDA Knowledge Base

Jump to: navigation, search
(show/hide link style copied from http://en.wikipedia.org/wiki/MediaWiki:Common.css)
m (correcting class name)
 
Line 17: Line 17:
 
}
 
}
  
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
+
.NavToggle{          /* 'show'/'hide' buttons created dynamically */
 
     float: right;          /* by the CollapsibleTables javascript in    */
 
     float: right;          /* by the CollapsibleTables javascript in    */
 
     font-weight: normal;  /* [[MediaWiki:Common.js]] are styled here  */
 
     font-weight: normal;  /* [[MediaWiki:Common.js]] are styled here  */

Latest revision as of 14: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;
}

.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