MediaWiki:Vector.css

From Elemental - Official Wiki
Revision as of 20:48, 4 January 2024 by IT (talk | contribs) (Created page with "→‎All CSS here will be loaded for users of the Vector skin: @media (max-width: 768px) { →‎Adjust 768px to whatever your threshold is: #mw-panel { display: none; } #column-content { margin: 0 0 1em 0; } #content { margin: 0 0 0 0; } #p-cactions { left: .1em; } #left-navigation { margin-left: 0; } } @media (min-width: 769px) { #home-tab { display: none; } }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 */
@media (max-width: 768px) { /* Adjust 768px to whatever your threshold is */
    #mw-panel {
        display: none;
    }
    #column-content { margin: 0 0 1em 0; }
    #content { margin: 0 0 0 0; }
    #p-cactions { left: .1em; }
    #left-navigation { margin-left: 0; }
}

@media (min-width: 769px) {
    #home-tab {
        display: none;
    }
}