মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
সম্পাদনা সারাংশ নেই |
সম্পাদনা সারাংশ নেই |
||
| ৬৮ নং লাইন: | ৬৮ নং লাইন: | ||
border-right: 1px solid #dbeafe; | border-right: 1px solid #dbeafe; | ||
padding-top: 0.8em; | padding-top: 0.8em; | ||
} | } | ||
| ৯৬ নং লাইন: | ৭৭ নং লাইন: | ||
padding: 8px 14px; | padding: 8px 14px; | ||
border-radius: 8px; | border-radius: 8px; | ||
} | } | ||
/* ========================= | /* ========================= | ||
HEADER LOGO — EXACT SIZE | |||
========================= */ | ========================= */ | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-wiki-title, | .mw-wiki-title, | ||
| ১৬২ নং লাইন: | ৯১ নং লাইন: | ||
width: 128px !important; | width: 128px !important; | ||
height: 40px !important; | height: 40px !important; | ||
object-fit: contain; | object-fit: contain; | ||
} | } | ||
/* ===================================================== | /* ===================================================== | ||
VECTOR 2022 — SEARCH | 🔥 VECTOR 2022 — REAL SEARCH FIX (MW 1.43) | ||
===================================================== */ | ===================================================== */ | ||
/* | /* ❌ Kill collapsed / icon-only search COMPLETELY */ | ||
.mw-header .vector-search- | .mw-header .vector-search-box-collapsed, | ||
.mw-header .vector-search-box__toggle, | |||
.mw-header .cdx-search-input__end-button, | |||
.mw-header .cdx-button--icon-only { | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* ✅ Force expanded search ONLY */ | ||
. | .mw-header .vector-search-box { | ||
.vector-search-box | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
} | } | ||
/* | /* Input */ | ||
.vector-search-box input, | .vector-search-box input, | ||
.vector-search-box .cdx-text-input__input, | .vector-search-box .cdx-text-input__input, | ||
| ১৯৫ নং লাইন: | ১২৩ নং লাইন: | ||
} | } | ||
/* | /* Button */ | ||
.vector-search-box button, | .vector-search-box button, | ||
.vector-search-box .cdx-button { | .vector-search-box .cdx-button { | ||
| ২০৯ নং লাইন: | ১৩৭ নং লাইন: | ||
/* ========================= | /* ========================= | ||
Footer base ONLY | Footer base ONLY | ||
========================= */ | ========================= */ | ||
.mw-footer { | .mw-footer { | ||
০২:৩০, ১৫ ডিসেম্বর ২০২৫ তারিখে সংশোধিত সংস্করণ
/* =========================
Global Base
========================= */
body {
background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
color: #1e293b;
font-family: "Segoe UI", "Noto Sans Bengali", "Helvetica Neue", sans-serif;
line-height: 1.7;
margin: 0;
}
/* =========================
Main Content
========================= */
#content,
.mw-body {
background: #ffffff;
border: 1px solid #dbeafe;
border-radius: 14px;
padding: 1.5em;
margin: 1.5em auto;
max-width: 1100px;
box-shadow: 0 6px 20px rgba(30,58,138,0.08);
}
/* =========================
Headings
========================= */
h1, h2, h3 {
color: #1e3a8a;
font-weight: 700;
letter-spacing: -0.4px;
}
h1 {
font-size: 1.9em;
border-bottom: 2px solid #2563eb;
padding-bottom: 0.2em;
}
h2 {
font-size: 1.5em;
border-left: 4px solid #2563eb;
padding-left: 0.4em;
}
/* =========================
Links
========================= */
a {
color: #2563eb;
text-decoration: none;
font-weight: 500;
}
a:hover {
color: #1e40af;
background: #e0e7ff;
padding: 2px 6px;
border-radius: 6px;
}
/* =========================
Sidebar
========================= */
#mw-panel {
background: #f0f5ff;
border-right: 1px solid #dbeafe;
padding-top: 0.8em;
}
/* =========================
Navigation Tabs
========================= */
.vector-menu-tabs li a {
color: #1e3a8a;
padding: 8px 14px;
border-radius: 8px;
}
/* =========================
HEADER LOGO — EXACT SIZE
========================= */
.mw-logo-wordmark,
.mw-wiki-title,
.mw-site-title {
display: none !important;
}
.mw-header .mw-logo img {
width: 128px !important;
height: 40px !important;
object-fit: contain;
}
/* =====================================================
🔥 VECTOR 2022 — REAL SEARCH FIX (MW 1.43)
===================================================== */
/* ❌ Kill collapsed / icon-only search COMPLETELY */
.mw-header .vector-search-box-collapsed,
.mw-header .vector-search-box__toggle,
.mw-header .cdx-search-input__end-button,
.mw-header .cdx-button--icon-only {
display: none !important;
}
/* ✅ Force expanded search ONLY */
.mw-header .vector-search-box {
display: flex !important;
align-items: center !important;
}
/* Input */
.vector-search-box input,
.vector-search-box .cdx-text-input__input,
.vector-search-box .cdx-search-input__input {
height: 38px !important;
min-height: 38px !important;
padding: 0 12px !important;
border-radius: 6px 0 0 6px !important;
box-sizing: border-box !important;
}
/* Button */
.vector-search-box button,
.vector-search-box .cdx-button {
height: 38px !important;
min-height: 38px !important;
padding: 0 16px !important;
border-radius: 0 6px 6px 0 !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
}
/* =========================
Footer base ONLY
========================= */
.mw-footer {
background: #ffffff;
border-top: 1px solid #a2a9b1;
padding: 1em 1.5em;
font-size: 0.875em;
}