Jump to content

User:Qwerfjkl/scripts/linkclassifier.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Forked from User:Anomie/linkclassifier.css */


/* Default light mode styles */
a                  { color:#0033cc; }
a.stubcls          { color:#6000bf; }
a.new              { color:#bf0000; }
a.redirect         { color:#00bf00; }
a.self-redirect    { background-color:#88ff88; }
a.disambiguation   { background-color:#ffff88; }
a.intentional-disambiguation   { background-color:#ffffcc; }
a.soft-redirect-cats { background-color:#ffff88; }
a.deletion         { color:#ff0088; }
a.broken-redirect  { color:#bf0000; background-color:#88ff88; }
#bodyContent a.external, #bodyContent a.extiw { color:#338ebb; }

a:visited          { color:#4365cc; }
a.stubcls:visited  { color:#7f3ebf; }
a.new:visited      { color:#bf3e3e; }
a.redirect:visited { color:#3ebf3e; }
a.deletion:visited { color:#ff54af; }
a.broken-redirect:visited { color:#bf3e3e; background-color:#88ff88; }
#bodyContent a.external:visited, #bodyContent a.extiw:visited { color:#5f9cbb; }

a.unprintworthy:not(.unprintworthy-shortcut)    { outline:1px dotted #ff0000; }

a.image.redirect         > img { outline:2px solid #00bf00; }
a.image.nonfree-media    > img { outline:3px double #ff0000; }
a.image.deletion         > img { outline:2px solid #ff0088; }
a.image.deletion:visited > img { outline-color:#ff54af; }

a.mw-file-description.redirect         > img { outline:2px solid #00bf00; }
a.mw-file-description.nonfree-media    > img { outline:3px double #ff0000; }
a.mw-file-description.deletion         > img { outline:2px solid #ff0088; }
a.mw-file-description.deletion:visited > img { outline-color:#ff54af; }

a.nonimage.protection-create-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Padlock-skyblue.svg/12px-Padlock-skyblue.svg.png);
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  a                  { color:#66ccff; }
  a.stubcls          { color:#a060ff; }
  a.new              { color:#ff6666; }
  a.redirect         { color:#66ff66; }
  a.self-redirect    { background-color:#005500; }
  a.disambiguation   { background-color:#555500; }
  a.intentional-disambiguation   { background-color:#555555; }
  a.soft-redirect-cats { background-color:#555500; }
  a.deletion         { color:#ff66cc; }
  a.broken-redirect  { color:#ff6666; background-color:#005500; }
  #bodyContent a.external, #bodyContent a.extiw { color:#66aaff; }

  a:visited          { color:#6699ff; }
  a.stubcls:visited  { color:#a06aff; }
  a.new:visited      { color:#ff9999; }
  a.redirect:visited { color:#66ff66; }
  a.deletion:visited { color:#ff99cc; }
  a.broken-redirect:visited { color:#ff9999; background-color:#005500; }
  #bodyContent a.external:visited, #bodyContent a.extiw:visited { color:#66aaff; }

  a.unprintworthy:not(.unprintworthy-shortcut)    { outline:1px dotted #ff9999; }

  a.image.redirect         > img { outline:2px solid #66ff66; }
  a.image.nonfree-media    > img { outline:3px double #ff9999; }
  a.image.deletion         > img { outline:2px solid #ff66cc; }
  a.image.deletion:visited > img { outline-color:#ff99cc; }

  a.mw-file-description.redirect         > img { outline:2px solid #66ff66; }
  a.mw-file-description.nonfree-media    > img { outline:3px double #ff9999; }
  a.mw-file-description.deletion         > img { outline:2px solid #ff66cc; }
  a.mw-file-description.deletion:visited > img { outline-color:#ff99cc; }

  a.nonimage.protection-create-sysop-indef:after {
      content:url(//upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Padlock-dark.svg/12px-Padlock-dark.svg.png);
  }
}

/* Forced night mode styles */
@media screen {
  html.skin-theme-clientpref-night a                  { color:#66ccff; }
  html.skin-theme-clientpref-night a.stubcls          { color:#a060ff; }
  html.skin-theme-clientpref-night a.new              { color:#ff6666; }
  html.skin-theme-clientpref-night a.redirect         { color:#66ff66; }
  html.skin-theme-clientpref-night a.self-redirect    { background-color:#005500; }
  html.skin-theme-clientpref-night a.disambiguation   { background-color:#555500; }
  html.skin-theme-clientpref-night a.intentional-disambiguation   { background-color:#555555; }
  html.skin-theme-clientpref-night a.soft-redirect-cats { background-color:#555500; }
  html.skin-theme-clientpref-night a.deletion         { color:#ff66cc; }
  html.skin-theme-clientpref-night a.broken-redirect  { color:#ff6666; background-color:#005500; }
  html.skin-theme-clientpref-night #bodyContent a.external, html.skin-theme-clientpref-night #bodyContent a.extiw { color:#66aaff; }

  html.skin-theme-clientpref-night a:visited          { color:#6699ff; }
  html.skin-theme-clientpref-night a.stubcls:visited  { color:#a06aff; }
  html.skin-theme-clientpref-night a.new:visited      { color:#ff9999; }
  html.skin-theme-clientpref-night a.redirect:visited { color:#66ff66; }
  html.skin-theme-clientpref-night a.deletion:visited { color:#ff99cc; }
  html.skin-theme-clientpref-night a.broken-redirect:visited { color:#ff9999; background-color:#005500; }
  html.skin-theme-clientpref-night #bodyContent a.external:visited, html.skin-theme-clientpref-night #bodyContent a.extiw:visited { color:#66aaff; }

  html.skin-theme-clientpref-night a.unprintworthy:not(.unprintworthy-shortcut)    { outline:1px dotted #ff9999; }

  html.skin-theme-clientpref-night a.image.redirect         > img { outline:2px solid #66ff66; }
  html.skin-theme-clientpref-night a.image.nonfree-media    > img { outline:3px double #ff9999; }
  html.skin-theme-clientpref-night a.image.deletion         > img { outline:2px solid #ff66cc; }
  html.skin-theme-clientpref-night a.image.deletion:visited > img { outline-color:#ff99cc; }

  html.skin-theme-clientpref-night a.mw-file-description.redirect         > img { outline:2px solid #66ff66; }
  html.skin-theme-clientpref-night a.mw-file-description.nonfree-media    > img { outline:3px double #ff9999; }
  html.skin-theme-clientpref-night a.mw-file-description.deletion         > img { outline:2px solid #ff66cc; }
  html.skin-theme-clientpref-night a.mw-file-description.deletion:visited > img { outline-color:#ff99cc; }

  html.skin-theme-clientpref-night a.nonimage.protection-create-sysop-indef:after {
      content:url(//upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Padlock-dark.svg/12px-Padlock-dark.svg.png);
  }
}