User:HonorTheKing/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:HonorTheKing/linkclassifier.css'); // Linkback: User:HonorTheKing/linkclassifier.css

* Please keep the linkback comment so I can know who is using this. */ A.redirect        { background-color:#2eef8a; } A.self-redirect   { background-color:#4ef13c; } A.disambiguation  { background-color:#ffff88; } A.intentional-disambiguation  { background-color:#ffffcc; } A.soft-redirect-cats { background-color:#ffff88; } A.deletion        { background-color:#ff0088; } A.broken-redirect { color:white; background-color:#88ff88; }

A.redirect:visited { background-color:#bcf6d8; } A.deletion:visited { background-color:#ff54af; } A.broken-redirect:visited { color:#bf3e3e; background-color:#88ff88; }

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

A.image.redirect        > IMG { outline:2px solid #00bf00; } /* Doesn't work, because the generated link goes to the redirect target */ A.image.deletion        > IMG { outline:2px solid #ff0088; } A.image.deletion:visited > IMG { outline-color:#ff54af; }

/* 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(http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png); } A.protection-edit-sysop-indef:after { content:url(http://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png); } A.nonimage.protection-create-sysop-indef:after { content:url(http://upload.wikimedia.org/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(http://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png) url(http://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png); }