MediaWiki:Vector.css

From Bharat Wiki
Revision as of 14:05, 6 December 2025 by Admin (talk | contribs) (Created page with "→‎All CSS here will be loaded for users of the Vector skin: →‎=========================== BHARAT WIKI – VECTOR THEME Custom Header + Sidebar UI ===========================: →‎Header height & padding adjust: #mw-page-base, #mw-head-base { background: #ffffff !important; } →‎Top tabs (Read | Edit | View History) styling: #p-views .vector-menu-tabs li a { font-weight: 600; color: #1a4f9e !important; } #p-views .vector-menu-tabs li.selected...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */
/* ===========================
   BHARAT WIKI – VECTOR THEME
   Custom Header + Sidebar UI
=========================== */

/* Header height & padding adjust */
#mw-page-base, #mw-head-base {
    background: #ffffff !important;
}

/* Top tabs (Read | Edit | View History) styling */
#p-views .vector-menu-tabs li a {
    font-weight: 600;
    color: #1a4f9e !important;
}
#p-views .vector-menu-tabs li.selected a {
    color: #000 !important;
    border-bottom: 2px solid #1a4f9e !important;
}

/* Left Sidebar background */
#mw-panel {
    background: #f7f9fc !important;
    border-right: 1px solid #e5e7eb !important;
}

/* Sidebar section headers */
#mw-panel .portal h3 {
    color: #1a4f9e !important;
    font-weight: 700;
}

/* Sidebar links */
#mw-panel .portal li a {
    color: #333 !important;
    padding: 4px 0;
}
#mw-panel .portal li a:hover {
    color: #1a4f9e !important;
}

/* Search bar styling */
#p-search input {
    border-radius: 6px !important;
    border: 1px solid #d0d7de !important;
    padding: 6px !important;
}