User:Waldyrious/global.css/links.css: Difference between revisions
Appearance
From Meta, a Wikimedia project coordination wiki
+wikifunctions
don't strike-out ISBN links from citation templates
Line 33:
Line 33:
color: DarkRed;
color: DarkRed;
}
}
/* Mark links to redirects as struck-out */
#mw-content-text a.mw-redirect
#mw-content-text a.mw-redirect
{
{
text-decoration: line-through;
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
#mw-content-text a.external
Revision as of 12:31, 7 December 2023
/*********************************************************************************************** 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-texta { color:#0645AD; text-decoration:underline; } #mw-content-textsup.referencea { text-decoration:none;/* don't underline reference links*/ } #mw-content-texta:visited { color:Indigo; } #mw-content-texta.new/* red links */ { color:Crimson; } #mw-content-texta.new:visited { color:DarkRed; } /* Mark links to redirects as struck-out */ #mw-content-texta.mw-redirect { text-decoration:line-through; } /* Don't strike-out ISBN links from citation templates */ #mw-content-textcitea.mw-redirect[href^="/wiki/ISBN"] { text-decoration:none; } #mw-content-texta.external { color:#00C000; background:none; padding-right:0; } #mw-content-texta.external:visited { color:DarkGreen; } #mw-content-texta.extiw, #mw-content-texta.external[href*="wikipedia.org"], #mw-content-texta.external[href*="wikimedia.org"], #mw-content-texta.external[href*="wikisource.org"], #mw-content-texta.external[href*="wikiversity.org"], #mw-content-texta.external[href*="wiktionary.org"], #mw-content-texta.external[href*="wikibooks.org"], #mw-content-texta.external[href*="wikinews.org"], #mw-content-texta.external[href*="wikiquote.org"], #mw-content-texta.external[href*="mediawiki.org"], #mw-content-texta.external[href*="wikidata.org"], #mw-content-texta.external[href*="wikifunctions.org"], #mw-content-texta.external[href*="toolserver.org"], #mw-content-texta.external[href*="toolforge.org"], #mw-content-texta.external[href*="wmflabs.org"], #mw-content-texta.external[href*="wmcloud.org"], #mw-content-texta.external[href*="wikimediafoundation.org"], #mw-content-texta.external[href*="wikimedia.pt"], #mw-content-texta.external[href*="translatewiki.net"], #mw-content-texta.external[href*="wikimedia.de"] { color:SteelBlue; } #mw-content-texta.extiw:visited, #mw-content-texta.external[href*="wikipedia.org"]:visited, #mw-content-texta.external[href*="wikimedia.org"]:visited, #mw-content-texta.external[href*="wikisource.org"]:visited, #mw-content-texta.external[href*="wikiversity.org"]:visited, #mw-content-texta.external[href*="wiktionary.org"]:visited, #mw-content-texta.external[href*="wikibooks.org"]:visited, #mw-content-texta.external[href*="wikinews.org"]:visited, #mw-content-texta.external[href*="wikiquote.org"]:visited, #mw-content-texta.external[href*="mediawiki.org"]:visited, #mw-content-texta.external[href*="wikidata.org"]:visited, #mw-content-texta.external[href*="wikifunctions.org"]:visited, #mw-content-texta.external[href*="toolserver.org"]:visited, #mw-content-texta.external[href*="toolforge.org"]:visited, #mw-content-texta.external[href*="wmflabs.org"]:visited, #mw-content-texta.external[href*="wmcloud.org"]:visited, #mw-content-texta.external[href*="wikimediafoundation.org"]:visited, #mw-content-texta.external[href*="wikimedia.pt"]:visited, #mw-content-texta.external[href*="translatewiki.net"]:visited, #mw-content-texta.external[href*="wikimedia.de"]:visited { color:#294C6A; }