MediaWiki:Vector.css

From ICRPaedia
Revision as of 20:44, 6 March 2019 by Admin (talk | contribs)
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 */

/** Hide sidebar **/
#p-navigation,
#p-tb {
	display: none !important;
}
#p-logo a {
	with: 8em !important;
	height: 3em !important;
}
#content,
#left-navigation,
#footer {
	margin-left: 0 !important;
}

/** Mobile-like Collapsible **/

.mw-editsection { position: absolute; z-index: 9999; }
.mw-collapsible { position: relative; }
.mw-collapsible-headline { padding-left: 1em; }
.mw-collapsible-toggle { position: absolute; text-align: right; margin-top: -17px; width: 100%; z-index: 9998; }
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { content: '\25BC'; font-size: 20px; position: absolute; left: 0px; top: -20px; }
.mw-collapsible-toggle.mw-collapsible-toggle-expanded:before { content: '\25B2'; font-size: 20px; position: absolute; left: 0px; top: -20px; }