Difference between revisions of "MediaWiki:Common.css"
From SDA Knowledge Base
(adding icon to YouTube links) |
(No difference)
|
Revision as of 10:03, 13 August 2009
/* 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;
}