User:Pythoncoder/common.css

From RationalWiki
Jump to: navigation, search

Note: After saving, 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)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
.userbox .image {
visibility: hidden;
}

// Vector Classic Typography (https://en.wikipedia.org/wiki/MediaWiki:Gadget-VectorClassic.css)
html, body {
    font-family: sans-serif;
}
div#content {
    color: black;
}
div#content h1,
div#content h2,
div#content #firstHeading,
div#content .mw-editsection {
    font-family: inherit;
}

/* Link Classifier Custom Rules */
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.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.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; }

A.nonimage[class*=protection-edit-template]:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/7/70/Padlock-pink.svg/12px-Padlock-pink.svg.png);
}
A.nonimage[class*=protection-create-sysop]:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Padlock-skyblue.svg/12px-Padlock-skyblue.svg.png);
}
A.nonimage.protection-edit-sysop:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/5/59/Padlock.svg/12px-Padlock.svg.png);
}
A.nonimage.protection-edit-sysop-indef:after {
    content:url(//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}