MediaWiki:Vector.css

From Cannabis
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.
/* CSS placed here will affect users of the Vector skin */

/* Changes show up right away in the preview of personal user CSS: 
/* http://cannabis.shoutwiki.com/wiki/User:USERNAME/skin.css
/* Changes may not show up right away in the preview here.
/* Changes made here can sometimes take awhile to show up after saving. 
/* First, bypass your browser's cache as instructed at the top. 
/* Then try purging: https://www.mediawiki.org/wiki/Manual:Purge 
/* Then bypass cache again. If that does not help, wait awhile. 
/* If nothing after days, go to http://www.shoutwiki.com/wiki/Special:Contact */

/* Decrease Vector sidebar padding and margins. This makes room for more text. 
/* Info: http://cannabis.shoutwiki.com/wiki/MediaWiki_talk:Vector.css 
/* See also: https://www.mediawiki.org/wiki/Manual_talk:Interface/Sidebar */

#mw-panel { padding-left: 0; } /* Reduces sidebar padding on the left. */
div#mw-panel div.portal { margin-left: 0; margin-right: 0; } /* Reduces sidebar margins. */
div#mw-panel div.portal div.body { margin-left: 0.5em; } /* Reduces left margin of sidebar toolbox */

/* Increase Vector sidebar width. 
/* https://www.mediawiki.org/wiki/Manual:Interface/Sidebar 
/* See section: "Sidebar width in Vector skin (CSS)." */

div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { margin-left: 12em; }