Difference between revisions of "MediaWiki:Common.css"
From SDA Knowledge Base
(adding icon to YouTube links) |
m (adding test class) |
||
Line 16: | Line 16: | ||
padding-right: 0 !important; | padding-right: 0 !important; | ||
} | } | ||
+ | |||
+ | .testclass {color:red;} |
Revision as of 13:28, 27 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/kb/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; } .testclass {color:red;}