User:Fuddle/linkclassifier+.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:Fuddle/linkclassifier+. This user script seems to have an accompanying .js page at User:Fuddle/linkclassifier+.js. |
/* 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:#0033cc; }
A.stubcls { color:#6000bf; }
A.new { color:#bf0000; }
A.redirect { color:#00bf00; }
.self-redirect { background-color:#88ff88; }
.container-cat { text-decoration-line: line-through; }
.non-diffusing { font-size: 75%; }
.disambiguation { background-color:#ffff88; }
.intentional-disambiguation { background-color:#ffffcc; }
.soft-redirect-cats { background-color:#ffff88; }
.deletion { color:#ff0088; }
.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; } /* 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:#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(//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(//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(//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(//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Featured_article_star.svg/12px-Featured_article_star.svg.png) url(//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}
*/