Admin Forum:Colour of external links

Hello. I'm an admin on a fan labour wiki that has naturally got lots of links to the sister/parent wiki. Right now, all links (internal, interwiki, external) have the same colour. I've done some research but am very much a beginner when it comes to CSS. Is it correct that I can change the link colours by adding


 * /* link colors */
 * link.interwiki { color: #4333BA; }
 * link.external { color: #3366BB; }

to MediaWiki:Common.css? And is there a way to specify a colour for a link to a specific wiki only (the sister wiki in our case)? --Tulipclaymore 02:55, October 19, 2011 (UTC)


 * There is a way of speciying color for a particular wiki. Just use the following code:

/* Interwiki Link Colour */ color: #006E94 !important; }
 * 1) bodyContent a[href*="PREFIX.wikia.com"],
 * 2) WikiaArticle a[href*="PREFIX.wikia.com"] {
 * Just change PREFIX and the color code to the ones you want.


 * Yup, that works. Thanks! --Tulipclaymore 07:08, October 19, 2011 (UTC)


 * Tagging FAQ. -- Fandyllic (talk &middot; contr) 20 Oct 2011 2:21 PM Pacific