MediaWiki:Vector.css
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.
/* ============================================
BHARAT WIKI – CUSTOM VECTOR THEME
Covers: Sidebar, highlights, hero box, footer
============================================ */
/* ---------------------------
A) MODERN LEFT SIDEBAR
--------------------------- */
.skin-vector .vector-sidebar {
background: #f7f9fc;
border-right: 1px solid #e1e5ef;
box-shadow: 4px 0 12px rgba(15, 23, 42, 0.06);
padding-top: 0.75rem;
}
/* Sidebar section headings */
.skin-vector .vector-sidebar .vector-menu-heading {
font-weight: 600;
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #6b7280;
}
/* Sidebar links */
.skin-vector .vector-sidebar .vector-menu-content li a {
display: block;
padding: 4px 8px;
border-radius: 6px;
color: #111827;
font-size: 0.86rem;
}
/* Hover effect */
.skin-vector .vector-sidebar .vector-menu-content li a:hover {
background: #e8f1ff;
color: #1a4f9e;
text-decoration: none;
}
/* Slight “slide in” feel on smaller screens */
@media (max-width: 1000px) {
.skin-vector .vector-sidebar {
box-shadow: 6px 0 18px rgba(15, 23, 42, 0.18);
transition: transform 0.25s ease-out;
}
}
/* NOTE: Pure CSS se full dark-overlay-on-open
possible nahi hai bina JS ke – isliye abhi
hum clean shadow + background se drawer feel
create kar rahe hain. */
/* ---------------------------
B) BLUE THEME HIGHLIGHTS
(active / selected items)
--------------------------- */
/* Selected item in sidebar */
.skin-vector .vector-sidebar .vector-menu-content li.selected > a,
.skin-vector .vector-sidebar .vector-menu-content li.current > a {
background: #1a4f9e;
color: #ffffff !important;
font-weight: 600;
}
/* Top page tabs (Read / Edit / View history) */
.skin-vector .vector-tabs .selected > a,
.skin-vector .vector-tabs .selected > a:visited {
background: #1a4f9e;
color: #ffffff !important;
border-radius: 999px;
border-color: #1a4f9e;
}
/* Hover on other tabs */
.skin-vector .vector-tabs li > a:hover {
background: #e8f1ff;
border-radius: 999px;
border-color: #cfd8f3;
}
/* Search box subtle styling */
.skin-vector #searchInput {
border-radius: 999px;
border-color: #d1d5db;
padding-inline: 0.7rem;
}
.skin-vector #searchInput:focus {
border-color: #1a4f9e;
box-shadow: 0 0 0 2px rgba(26, 79, 158, 0.2);
}
/* ---------------------------
C) HERO BOX – BHARAT WIKI
--------------------------- */
.bharat-hero {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background: linear-gradient(135deg, #f7f9ff 0%, #eef5ff 45%, #f8fafc 100%);
border-radius: 12px;
border: 1px solid #d8dde8;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
margin-bottom: 1.25rem;
}
/* Inner cells */
.bharat-hero > * > tr > td {
padding: 1.1rem 1.2rem;
vertical-align: middle;
}
/* Left logo cell */
.bharat-hero > * > tr > td:first-child {
width: 120px;
text-align: center;
}
/* Main welcome text cell */
.bharat-hero > * > tr > td:nth-child(2) {
border-left: 1px solid rgba(209, 213, 219, 0.7);
}
/* Main title line */
.bharat-hero strong,
.bharat-hero .mw-headline {
font-size: 1.55rem;
line-height: 1.25;
}
/* Tagline small text */
.bharat-hero small {
color: #6b7280;
}
/* ---------------------------
D) CLEAN GLOBAL FOOTER
--------------------------- */
#footer {
background: #f8fafc;
border-top: 1px solid #e5e7eb;
margin-top: 2rem;
padding-top: 1rem;
font-size: 0.8rem;
color: #4b5563;
}
/* Footer links row */
#footer .footer-places {
text-align: center;
margin-bottom: 0.4rem;
}
/* Footer links inline */
#footer .footer-places li {
display: inline-block;
margin: 0 0.4rem;
}
/* Footer small print */
#footer-info {
text-align: center;
max-width: 900px;
margin: 0 auto;
color: #6b7280;
}
/* Powered by MediaWiki icon spacing */
#footer-icons {
margin-top: 0.5rem;
}
/* ====== Bharat Wiki – Vector 2022 top bar logo ====== */
/* Bharat Wiki logo – border/outline hatana + wordmark color */
.mw-logo,
.mw-logo-icon,
.mw-logo-icon img {
border: none !important;
box-shadow: none !important;
outline: none !important;
}
.mw-logo-wordmark {
color: #4c30c2 !important; /* purple */
font-weight: 700 !important;
}