Jump to content

User:Fmadd/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.
/* 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.good-content     { color:#0040e0; }   /* good content,featured content highlighted more */
A.featured-content     { color:#0040e0; }   /* good content,featured content highlighted more */
A                  { color:#0030c0; }
A.stubcls          { color:#002888; }	/* stub - deemphasized, it doesn't quite exist yet*/
A.new              { color:#bf0000; }	/* redlinks */
A.redirect         { color:#0050a0; }	/* redirect a silghtly different kind of link, so green.*/
A.set-index    { color:#005050; } /* 'set index' links, emphasized to see if its working */
A.intentional-disambiguation   { color:#000040; }
A.disambiguation   { color:#200060; } /* disambig - fainter but slightly redder.. it's an error of sorts*/
A.deletion         { color:#002060; }    /*marked for deltion-fainter, it is fading from existance*/
A.broken-redirect  { color:#800000; /*background-color:#88ff88;*/ }
#bodyContent a.external, #bodyContent a.extiw { color:#007050; } /* external links in a markedly different color

/*A.disambiguation   { background-color:#200040; }*/ /* disambig - fainter but slightly redder.. it's an error of sorts*/
/*A.intentional-disambiguation   { background-color:#000040; }*/
/*A.soft-redirect-cats { background-color:#ffff88; }*/

A.good-content:visited     { color:#1060f0; }   /* good content,featured content highlighted more */
A.featured-content:visited     { color:#1060f0; }   /* good content,featured content highlighted more */

A:visited                  { color:#1040d0; }
A.stubcls:visited          { color:#103898; }	/* stub - deemphasized, it doesn't quite exist yet*/
A.new:visited      { color:#cf1010; }
A.redirect:visited { color:#1060b0; }
A.deletion:visited { color:#002070; }	/* you dont need to know you visited a deletoin article*/
A.broken-redirect:visited { color:#bf3e3e; /*background-color:#88ff88;*/ }
A.intentional-disambiguation:visited   { color:#101050; }

#bodyContent a.external:visited, #bodyContent a.extiw:visited { color:#108060; }
A.set-index    { color:#106060; } /* 'set index' links, emphasized to see if its working */

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(/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);
}
*/