Difference between revisions of "MediaWiki:Common.css"
From SDA Knowledge Base
m (removing test class) |
m (correcting class name) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
#article a[href ^="http://www.youtube.com"], | #article a[href ^="http://www.youtube.com"], | ||
#contentSub a[href ^="http://www.youtube.com"] { | #contentSub a[href ^="http://www.youtube.com"] { | ||
− | background: url(http://speeddemosarchive.com/ | + | background: url(http://speeddemosarchive.com/w/images/4/4c/YouTube_icon.png) center right no-repeat !important; |
padding-right: 20px !important; | padding-right: 20px !important; | ||
} | } | ||
Line 15: | Line 15: | ||
background: none !important; | background: none !important; | ||
padding-right: 0 !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; | ||
} | } |
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; }