User:Iritscen/vector.css

From OniGalore
< User:Iritscen
Revision as of 22:50, 25 May 2017 by Iritscen (talk | contribs) (now testing an external internal icon)
Jump to navigation Jump to 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)
  • Microsoft Edge: 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.
/* Prevent sidewards scrolling in pre elements */
pre
{
  overflow: auto;
  max-height: 25em;
}

/* Make visited links same color as unvisited (standard Wikipedia color is #0645AD) */
.mw-body a {color:#36B} /* base link color */
.mw-body a:visited {color:#36B} /* make visited same as base color */
.mw-body a.new {color:#FF0000} /* preserve color of red links */
.mw-body a.new:visited {color:#FF0000} /* preserve color of red links */
.mw-body a.external {color:#36B} /* external */
.mw-body a.extiw {color:#36B} /* inter-wiki */
.mw-body a.external:visited {color:#36B} /* external */
.mw-body a.extiw:visited {color:#36B} /* inter-wiki */
div#mw-panel a:visited {color:#36B} /* make visited same as base color */
div#mw-head a:visited {color:#36B} /* make visited same as base color */
div#footer a:visited {color:#36B} /* make visited same as base color */

/* Alter outbound arrow for external links */
div#content a.external
{
 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAYUlEQVQoU62PAQrAMAgD/dP+1D/tT/uT8woZTiyMssBRJQlS25K7f6LXCKehLRzn5SOoWhamwqSY9SowZDDrkWUhh3l1qS3UMDvwp7ZACFNhBbii3BSDyGHIenaZHT/I7Aa4AQyc/74avwAAAABJRU5ErkJggg==);
}

/* Provide unique outbound arrow for intrawiki links */
div#content a.extiw
{
 padding-right:12px;
 background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAVUlEQVQoU52QiwkAIAhEm9ad2qmdzAsKO1Qo4YVenn2aqj4RihWhCKQPWywj/So8aJZuCZlOYgPX5gY1gk3HgCtk4U3/JzBoKt/APP9SRihWhGKOtgni8K5gX3OZtgAAAABJRU5ErkJggg==) center right no-repeat;
}

/* Provide circular arrow for external internal links */
div#content a.external[href ="wiki.oni2.net"]
{
 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAs0lEQVQoU5WPvQrCQBCE8yiWPoaFD5TWJq2FYh7CysoihYiloIVFCCktBPENLCzH+zz2cvkR9GBgZ3Z3di6R9Bd6wvOl07aUFnupqCR43G8N1w9pnEmTpZRupOnK8/Luut0FnGiuz/QaE/ho1lwKDWLgbDwGOvGogzjf+RjGY6DnB1e5OohcILNxQBSL1LtARhswDQ6O14E/gMvND9hfbAHAQWsB4BTcOu+jxcO/YFD8DiVvaluqWO0cROYAAAAASUVORK5CYII=);
}