User:Iritscen/vector.css

From OniGalore
< User:Iritscen
Revision as of 13:58, 11 December 2019 by Iritscen (talk | contribs) (trying the size-override code I found on MW.org, with default value first)
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 font in editor an actually-readable size */
.mw-editfont-monospace,
.mw-editfont-sans-serif,
.mw-editfont-serif {
	font-size: 13px !important;
}

/* 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 div.portal div.body ul li 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 */