MediaWiki:Vector.css

From Weegeepie Wiki
Revision as of 18:56, 8 August 2024 by Weegeepie (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */

#content {
	margin-left: 16em !important;
}

#left-navigation {
	margin-left: 16em !important;
}

/* Hide the left panel on small screens */
@media screen and (max-width: 800px) {
    /* Hide the entire sidebar */
    #mw-panel {
        display: none !important;
    }

    /* Adjust the content area to take full width */
    #content {
        margin-left: 0 !important;
    }

    /* Adjust the search box positioning if necessary */
    #p-search {
        margin-left: 0 !important;
    }
}