Jump to content
Wikimedia Meta-Wiki

User:Waldyrious/global.css/links.css

From Meta, a Wikimedia project coordination wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)
  • Edge: Hold Ctrl while clicking Refresh, or 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
 ***********************************************************************************************/

 @mediascreenand(not(prefers-color-scheme:dark)){

 .mw-parser-outputa:not([role="button"])
 {
 color:#0645AD;
 text-decoration:underline;
 }
 .mw-parser-outputsup.referencea
 {
 text-decoration:none;/* don't underline reference links*/
 }

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

 }

AltStyle によって変換されたページ (->オリジナル) /