মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
সম্পাদনা সারাংশ নেই ট্যাগ: পুনর্বহালকৃত |
সম্পাদনা সারাংশ নেই ট্যাগ: পুনর্বহালকৃত |
||
| ৫৬ নং লাইন: | ৫৬ নং লাইন: | ||
/* ===================================================== | /* ===================================================== | ||
🔥 | 🔥 SEARCH BAR CONFIGURATION | ||
===================================================== */ | ===================================================== */ | ||
/* | /* 1. HIDE the search toggle icon (Magnifying glass button) everywhere */ | ||
.vector-search-toggle, | .vector-search-toggle, | ||
.vector-search-toggle-button { | .vector-search-toggle-button { | ||
| ৬৫ নং লাইন: | ৬৫ নং লাইন: | ||
} | } | ||
/* | /* 2. STYLE the Search Box (Main & Sticky) */ | ||
.vector-search-box, | .vector-search-box, | ||
.vector-search-box form { | .vector-search-box form { | ||
| ৭৫ নং লাইন: | ৭৫ নং লাইন: | ||
} | } | ||
/* | /* 3. Input Field Styling */ | ||
.vector-search-box input, | .vector-search-box input, | ||
.vector-search-box .cdx-text-input__input, | .vector-search-box .cdx-text-input__input, | ||
.vector-search-box .cdx-search-input__input { | .vector-search-box .cdx-search-input__input { | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
height: 36px !important; | height: 36px !important; | ||
padding: 0 10px !important; | padding: 0 10px !important; | ||
border: 1px solid #a2a9b1 !important; | border: 1px solid #a2a9b1 !important; | ||
border-right: none !important; | border-right: none !important; | ||
border-radius: 6px 0 0 6px !important; | border-radius: 6px 0 0 6px !important; | ||
font-size: 14px !important; | font-size: 14px !important; | ||
} | } | ||
/* | /* 4. Search Button Styling */ | ||
.vector-search-box button, | .vector-search-box button, | ||
.vector-search-box .cdx-button { | .vector-search-box .cdx-button { | ||
| ১০৫ নং লাইন: | ১০৫ নং লাইন: | ||
} | } | ||
.vector-search-box button:hover { | .vector-search-box button:hover { | ||
background-color: #e0e7ff !important; | background-color: #e0e7ff !important; | ||
border-color: #2563eb !important; | border-color: #2563eb !important; | ||
color: #1e40af !important; | color: #1e40af !important; | ||
} | |||
/* ===================================================== | |||
🔥 STICKY HEADER FIX (When Scrolling) | |||
===================================================== */ | |||
/* Force the Search BOX to show in the sticky header */ | |||
.vector-sticky-header .vector-search-box { | |||
display: flex !important; | |||
visibility: visible !important; | |||
opacity: 1 !important; | |||
width: auto !important; | |||
margin-right: 15px; /* Spacing from user menu */ | |||
} | |||
/* Force the INPUT inside the sticky header to be visible */ | |||
.vector-sticky-header .vector-search-box-input, | |||
.vector-sticky-header .cdx-text-input__input { | |||
display: block !important; | |||
min-width: 250px !important; /* Width of the search bar */ | |||
} | } | ||
/* ========================= | /* ========================= | ||
Sidebar | Sidebar | ||
========================= */ | ========================= */ | ||
#mw-panel { | #mw-panel { | ||
| ১৩০ নং লাইন: | ১৪৯ নং লাইন: | ||
} | } | ||
.mw-footer .mw-wikimedia-logo { | .mw-footer .mw-wikimedia-logo { | ||
display: none !important; | display: none !important; | ||
| ১৩৬ নং লাইন: | ১৫৪ নং লাইন: | ||
/* ========================= | /* ========================= | ||
Footer Icons | |||
========================= */ | ========================= */ | ||
#footer-icons { | #footer-icons { | ||
display: flex !important; | display: flex !important; | ||
justify-content: flex-end; | justify-content: flex-end; | ||
align-items: center !important; | align-items: center !important; | ||
gap: 15px; | gap: 15px; | ||
list-style: none !important; | list-style: none !important; | ||
margin: 10px 0 0 0 !important; | margin: 10px 0 0 0 !important; | ||
| ১৫০ নং লাইন: | ১৬৬ নং লাইন: | ||
} | } | ||
#footer-icons li { | #footer-icons li { | ||
display: block !important; | display: block !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
float: none !important; | float: none !important; | ||
} | } | ||
#footer-icons img { | #footer-icons img { | ||
height: 31px !important; | height: 31px !important; | ||
width: auto !important; | width: auto !important; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
০৯:৩৫, ৪ জানুয়ারি ২০২৬ তারিখে সংশোধিত সংস্করণ
/* =========================
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);
}
/* =========================
Links
========================= */
a {
color: #2563eb;
text-decoration: none;
font-weight: 500;
}
a:hover {
color: #1e40af;
background: #e0e7ff;
padding: 2px 6px;
border-radius: 6px;
}
/* =========================
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;
}
/* =====================================================
🔥 SEARCH BAR CONFIGURATION
===================================================== */
/* 1. HIDE the search toggle icon (Magnifying glass button) everywhere */
.vector-search-toggle,
.vector-search-toggle-button {
display: none !important;
}
/* 2. STYLE the Search Box (Main & Sticky) */
.vector-search-box,
.vector-search-box form {
display: flex !important;
align-items: center !important;
gap: 0 !important;
margin: 0 !important;
max-width: 100%;
}
/* 3. Input Field Styling */
.vector-search-box input,
.vector-search-box .cdx-text-input__input,
.vector-search-box .cdx-search-input__input {
box-sizing: border-box !important;
height: 36px !important;
padding: 0 10px !important;
border: 1px solid #a2a9b1 !important;
border-right: none !important;
border-radius: 6px 0 0 6px !important;
font-size: 14px !important;
}
/* 4. Search Button Styling */
.vector-search-box button,
.vector-search-box .cdx-button {
box-sizing: border-box !important;
height: 36px !important;
padding: 0 16px !important;
background-color: #f8f9fa !important;
border: 1px solid #a2a9b1 !important;
border-radius: 0 6px 6px 0 !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
font-weight: bold !important;
font-size: 14px !important;
}
.vector-search-box button:hover {
background-color: #e0e7ff !important;
border-color: #2563eb !important;
color: #1e40af !important;
}
/* =====================================================
🔥 STICKY HEADER FIX (When Scrolling)
===================================================== */
/* Force the Search BOX to show in the sticky header */
.vector-sticky-header .vector-search-box {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
width: auto !important;
margin-right: 15px; /* Spacing from user menu */
}
/* Force the INPUT inside the sticky header to be visible */
.vector-sticky-header .vector-search-box-input,
.vector-sticky-header .cdx-text-input__input {
display: block !important;
min-width: 250px !important; /* Width of the search bar */
}
/* =========================
Sidebar
========================= */
#mw-panel {
background: #f0f5ff;
border-right: 1px solid #dbeafe;
}
/* =========================
Footer Base
========================= */
.mw-footer {
background: #ffffff;
border-top: 1px solid #a2a9b1;
padding: 1em 1.5em;
font-size: 0.875em;
}
.mw-footer .mw-wikimedia-logo {
display: none !important;
}
/* =========================
Footer Icons
========================= */
#footer-icons {
display: flex !important;
justify-content: flex-end;
align-items: center !important;
gap: 15px;
list-style: none !important;
margin: 10px 0 0 0 !important;
padding: 0 !important;
}
#footer-icons li {
display: block !important;
margin: 0 !important;
padding: 0 !important;
float: none !important;
}
#footer-icons img {
height: 31px !important;
width: auto !important;
vertical-align: middle !important;
}