MediaWiki:Vector.css

From Cannabis
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)
  • 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 */

/* CSS changes show up in around 15 seconds in personal user CSS: 
/* http://cannabis.shoutwiki.com/wiki/Special:MyPage/vector.css 
/* CSS changes made here may take around 5 minutes to show up with Ctrl-F5, etc..
/* Additional measures to try after waiting longer: 
/* Try purging: https://www.mediawiki.org/wiki/Manual:Purge 
/* Click on the history link, and substitute "purge" for "history" in the URL.
/* 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 
/* http://www.shoutwiki.com/wiki/User_talk:Saftzie#Some_CSS_to_make_mobile_view_less_narrow._Or_Minerva_mobile_skin */

/* Reduces sidebar padding on the left. Text is closer to left side of screen. */
#mw-panel { padding-left: 0; } 

/* Reduces sidebar margins on left and right. Text is yet closer to left side. 
/* Sidebar takes up less width overall for same text width.  */
div#mw-panel div.portal { margin-left: 0; margin-right: 0; } 

/* Reduces the left margin of the expanded tools section at the bottom of the sidebar. */
div#mw-panel div.portal div.body { margin-left: 0.5em; }