Jump to content

User:FlightTime/vector.css

From Simple English Wikipedia, the free encyclopedia
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.
/* Copied from [[en:User:Anomie/linkclassifier.css]] */

/* CSS rules for use with [[User:Anomie/linkclassifier.js]]. To include these rules,
 * insert the following into your [[Special:Mypage/monobook.js]] (yes, monobook.js not monobook.css):

importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]

 * Please keep the linkback comment so I can know who is using this.
 */
A                  { color:#002bb8; }
A.stubcls          { color:#5c2bb8; }
A.new              { color:#cc2200; }
A.redirect         { color:#00bb00; }
A.self-redirect    { background-color:#88ff88; }
A.disambiguation   { background-color:#ffff88; }
A.deletion         { color:#ff0088; }
A:visited          { color:#00155c; }
A.stubcls:visited  { color:#552c50; }
A.new:visited      { color:#aa4444; }
A.redirect:visited { color:#227722; }
A.deletion:visited { color:#cc2277; }
A.broken-redirect  { color:#cc2200; background-color:#88ff88; }
A.broken-redirect:visited { color:#aa4444; background-color:#88ff88; }

A.image.redirect         > IMG { outline:2px solid #00bb00; } /* Doesn't work, because the generated link goes to the redirect target */
A.image.nonfree-media    > IMG { outline:3px double #ff0000; }
A.image.deletion         > IMG { outline:2px solid #ff0088; }
A.image.deletion:visited > IMG { outline-color:#cc2277; }

/* Images can be inserted after links with the ":after" pseudo-element, although this doesn't work in IE <8. */
/*
A.featured-content:after {
    content:url(/media/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png);
}
A.protection-edit-sysop-indef:after {
    content:url(/media/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/
A.nonimage.protection-create-sysop-indef:after {
    content:url(/media/wikipedia/commons/thumb/a/a0/Padlock-skyblue.svg/12px-Padlock-skyblue.svg.png);
}

/* If you're wanting to put multiple images after, you'll need to give specific
 * rules for each combination, something like this:
A.featured-content.protection-edit-sysop-indef:after {
    content:url(/media/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png) url(/media/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/