MediaWiki:Vector

From OniGalore
Revision as of 01:06, 3 August 2017 by Iritscen (talk | contribs) (only one change to diff view now)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The purpose of MediaWiki:Vector.css and MediaWiki:Vector.js is to augment the MediaWiki CSS and JS code in ways that are tailored to, or necessary to improve, the Vector skin. Vector is the default skin, and thus probably used by all registered users. Therefore, although wiki-wide changes are typically made to MediaWiki:Common.css and MediaWiki:Common.js, the changes to these Vector pages will override those changes for the average user. On top of any changes to Vector or Common pages come any changes made to users' local vector.css and vector.js pages.

Vector.css

  • Vector.css starts off by anchoring the sidebar in place so that scrolling down an article does not affect the sidebar's position.
  • The background of the code style (the style applied to any line of text that begins with at least one space character) is darkened, for better contrast against the standard page background.
  • The text in the wiki's diff view is made normal size, for better readability.

Vector.js

There are currently no modifications to Vector's JavaScript.