MediaWiki:Vector.css: Difference between revisions

From Bharat Wiki
(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...")
 
No edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* ==============================
/* ===========================
   BHARAT WIKI – CUSTOM VECTOR THEME
   BHARAT WIKI – VECTOR THEME
   ============================== */
   Custom Header + Sidebar UI
=========================== */


/* Header height & padding adjust */
/* --- LEFT SIDEBAR IMPROVEMENTS --- */
#mw-page-base, #mw-head-base {
.vector-sidebar {
     background: #ffffff !important;
     background: #f7f9fc !important;
    border-right: 1px solid #e1e4ea !important;
}
}


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


/* Left Sidebar background */
.vector-menu-content li a {
#mw-panel {
     color: #2a2a2a !important;
     background: #f7f9fc !important;
    border-right: 1px solid #e5e7eb !important;
}
}


/* Sidebar section headers */
.vector-menu-content li a:hover {
#mw-panel .portal h3 {
    background: #e8f0ff !important;
     color: #1a4f9e !important;
     color: #1a4f9e !important;
     font-weight: 700;
     border-radius: 4px;
}
}


/* Sidebar links */
/* --- TOP HEADER / TABS --- */
#mw-panel .portal li a {
.vector-tabs .selected a {
     color: #333 !important;
     background: #1a4f9e !important;
     padding: 4px 0;
     color: white !important;
}
}
#mw-panel .portal li a:hover {
 
.vector-tabs li a:hover {
    background: #e8f0ff !important;
     color: #1a4f9e !important;
     color: #1a4f9e !important;
}
}


/* Search bar styling */
/* --- SEARCH BAR --- */
#p-search input {
#p-search input {
    border: 1px solid #bfc8d9 !important;
     border-radius: 6px !important;
     border-radius: 6px !important;
     border: 1px solid #d0d7de !important;
}
     padding: 6px !important;
 
/* --- PAGE CONTENT WIDTH & FONT --- */
.mw-body {
     font-family: 'Inter', 'Segoe UI', sans-serif !important;
     line-height: 1.6;
}
}

Revision as of 14:08, 6 December 2025

/* ==============================
   BHARAT WIKI – CUSTOM VECTOR THEME
   ============================== */

/* --- LEFT SIDEBAR IMPROVEMENTS --- */
.vector-sidebar {
    background: #f7f9fc !important;
    border-right: 1px solid #e1e4ea !important;
}

.vector-sidebar .vector-menu-heading {
    font-weight: bold;
    color: #1a4f9e !important;
}

.vector-menu-content li a {
    color: #2a2a2a !important;
}

.vector-menu-content li a:hover {
    background: #e8f0ff !important;
    color: #1a4f9e !important;
    border-radius: 4px;
}

/* --- TOP HEADER / TABS --- */
.vector-tabs .selected a {
    background: #1a4f9e !important;
    color: white !important;
}

.vector-tabs li a:hover {
    background: #e8f0ff !important;
    color: #1a4f9e !important;
}

/* --- SEARCH BAR --- */
#p-search input {
    border: 1px solid #bfc8d9 !important;
    border-radius: 6px !important;
}

/* --- PAGE CONTENT WIDTH & FONT --- */
.mw-body {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    line-height: 1.6;
}