User:Waldyrious/global.css/links.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/***********************************************************************************************
This stylesheet does a few things:
1) implement a better links color scheme
   (see http://meta.wikimedia.org/wiki/Cologne_Blue_skin_problems#Proposal_for_new_color_scheme)
2) style external links pointing to sites in the WMF cluster as internal links 
   (see https://bugzilla.wikimedia.org/show_bug.cgi?id=11477)
3) remove arrows from external links, which are made obsolete by change 1)
4) make links always underlined, to make it easy to distinguish, for example,
   two one-word contiguous links from one two-word link.
5) mark links that are redirects with a redirect arrow
***********************************************************************************************/

#mw-content-text a
{
    color: #0645AD;
    text-decoration: underline;
}
#mw-content-text sup.reference a
{
	text-decoration: none; /* don't underline reference links*/
}

#mw-content-text a:visited
{
    color: Indigo;
}
#mw-content-text a.new /* red links */
{
    color: Crimson;
}
#mw-content-text a.new:visited
{
    color: DarkRed;
}
/* Mark links to redirects as struck-out */
#mw-content-text a.mw-redirect
{
	text-decoration: line-through;
}
/* Don't strike-out ISBN links from citation templates */
#mw-content-text cite a.mw-redirect[href^="/wiki/ISBN"]
{
	text-decoration: none;
}
#mw-content-text a.external
{
    color: #00C000;
    background: none;
    padding-right: 0;
}
#mw-content-text a.external:visited
{
    color: DarkGreen;
}
#mw-content-text a.extiw,
#mw-content-text a.external[href*="wikipedia.org"],
#mw-content-text a.external[href*="wikimedia.org"],
#mw-content-text a.external[href*="wikisource.org"],
#mw-content-text a.external[href*="wikiversity.org"],
#mw-content-text a.external[href*="wiktionary.org"],
#mw-content-text a.external[href*="wikibooks.org"],
#mw-content-text a.external[href*="wikinews.org"],
#mw-content-text a.external[href*="wikiquote.org"],
#mw-content-text a.external[href*="mediawiki.org"],
#mw-content-text a.external[href*="wikidata.org"],
#mw-content-text a.external[href*="wikifunctions.org"],
#mw-content-text a.external[href*="toolserver.org"],
#mw-content-text a.external[href*="toolforge.org"],
#mw-content-text a.external[href*="wmflabs.org"],
#mw-content-text a.external[href*="wmcloud.org"],
#mw-content-text a.external[href*="wikimediafoundation.org"],
#mw-content-text a.external[href*="wikimedia.pt"],
#mw-content-text a.external[href*="translatewiki.net"],
#mw-content-text a.external[href*="wikimedia.de"]
{
    color: SteelBlue;
}
#mw-content-text a.extiw:visited,
#mw-content-text a.external[href*="wikipedia.org"]:visited,
#mw-content-text a.external[href*="wikimedia.org"]:visited,
#mw-content-text a.external[href*="wikisource.org"]:visited,
#mw-content-text a.external[href*="wikiversity.org"]:visited,
#mw-content-text a.external[href*="wiktionary.org"]:visited,
#mw-content-text a.external[href*="wikibooks.org"]:visited,
#mw-content-text a.external[href*="wikinews.org"]:visited,
#mw-content-text a.external[href*="wikiquote.org"]:visited,
#mw-content-text a.external[href*="mediawiki.org"]:visited,
#mw-content-text a.external[href*="wikidata.org"]:visited,
#mw-content-text a.external[href*="wikifunctions.org"]:visited,
#mw-content-text a.external[href*="toolserver.org"]:visited,
#mw-content-text a.external[href*="toolforge.org"]:visited,
#mw-content-text a.external[href*="wmflabs.org"]:visited,
#mw-content-text a.external[href*="wmcloud.org"]:visited,
#mw-content-text a.external[href*="wikimediafoundation.org"]:visited,
#mw-content-text a.external[href*="wikimedia.pt"]:visited,
#mw-content-text a.external[href*="translatewiki.net"]:visited,
#mw-content-text a.external[href*="wikimedia.de"]:visited
{
    color: #294C6A;
}