মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
সম্পাদনা সারাংশ নেই ট্যাগ: পুনর্বহালকৃত |
সম্পাদনা সারাংশ নেই ট্যাগ: হাতদ্বারা প্রত্যাবর্তন পুনর্বহালকৃত |
||
| ৪১ নং লাইন: | ৪১ নং লাইন: | ||
/* ========================= | /* ========================= | ||
HEADER LOGO | HEADER LOGO — EXACT SIZE | ||
========================= */ | ========================= */ | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
| ৫৬ নং লাইন: | ৫৬ নং লাইন: | ||
/* ===================================================== | /* ===================================================== | ||
SEARCH | 🔥 FIXED SEARCH ALIGNMENT (Vector 2022) | ||
===================================================== */ | ===================================================== */ | ||
/* | /* ❌ Remove default floating icons that cause clutter */ | ||
.vector- | .vector-search-toggle, | ||
.vector-search-toggle-button { | |||
display: none !important; | |||
} | |||
/* ✅ Main container: Force row layout */ | |||
.vector-search-box, | |||
.vector-search-box form { | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| ৬৯ নং লাইন: | ৭৫ নং লাইন: | ||
} | } | ||
/* ✅ Input Field: Fix box-sizing and borders */ | |||
.vector- | .vector-search-box input, | ||
box-sizing: border-box !important; | .vector-search-box .cdx-text-input__input, | ||
.vector-search-box .cdx-search-input__input { | |||
box-sizing: border-box !important; /* Critical for matching button height */ | |||
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; /* Merge seamlessly with button */ | ||
border-radius: 6px 0 0 6px !important; | border-radius: 6px 0 0 6px !important; | ||
font-size: 14px !important; | font-size: 14px !important; | ||
} | } | ||
/* ✅ Search Button: Fix box-sizing and alignment */ | |||
.vector- | .vector-search-box button, | ||
.vector-search-box .cdx-button { | |||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
height: 36px !important; | height: 36px !important; | ||
| ৯৬ নং লাইন: | ১০৫ নং লাইন: | ||
} | } | ||
/* Hover effect for the search button */ | |||
.vector-search-box button:hover { | |||
/* | |||
.vector | |||
background-color: #e0e7ff !important; | background-color: #e0e7ff !important; | ||
border-color: #2563eb !important; | border-color: #2563eb !important; | ||
color: #1e40af !important; | color: #1e40af !important; | ||
} | } | ||
/* ========================= | /* ========================= | ||
Sidebar | Sidebar (unchanged) | ||
========================= */ | ========================= */ | ||
#mw-panel { | #mw-panel { | ||
| ২১৩ নং লাইন: | ১৩০ নং লাইন: | ||
} | } | ||
/* Hide default Wikimedia logo if needed */ | |||
.mw-footer .mw-wikimedia-logo { | .mw-footer .mw-wikimedia-logo { | ||
display: none !important; | display: none !important; | ||
| ২১৮ নং লাইন: | ১৩৬ নং লাইন: | ||
/* ========================= | /* ========================= | ||
🔥 FOOTER ICONS ALIGNMENT | |||
========================= */ | ========================= */ | ||
/* Align the "Powered By" logos side-by-side */ | |||
#footer-icons { | #footer-icons { | ||
display: flex !important; | display: flex !important; | ||
justify-content: flex-end; | justify-content: flex-end; /* Aligns to the right. Change to 'center' if preferred */ | ||
align-items: center !important; | align-items: center !important; | ||
gap: 15px; | gap: 15px; /* Space between the two logos */ | ||
list-style: none !important; | list-style: none !important; | ||
margin: 10px 0 0 0 !important; | margin: 10px 0 0 0 !important; | ||
| ২৩০ নং লাইন: | ১৫০ নং লাইন: | ||
} | } | ||
/* Ensure individual list items don't force a line break */ | |||
#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; /* Overrides default MediaWiki float behavior */ | ||
} | } | ||
/* Force images to be consistent height */ | |||
#footer-icons img { | #footer-icons img { | ||
height: 31px !important; | height: 31px !important; /* Standard MediaWiki button height */ | ||
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;
}
/* =====================================================
🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
===================================================== */
/* ❌ Remove default floating icons that cause clutter */
.vector-search-toggle,
.vector-search-toggle-button {
display: none !important;
}
/* ✅ Main container: Force row layout */
.vector-search-box,
.vector-search-box form {
display: flex !important;
align-items: center !important;
gap: 0 !important;
margin: 0 !important;
max-width: 100%;
}
/* ✅ Input Field: Fix box-sizing and borders */
.vector-search-box input,
.vector-search-box .cdx-text-input__input,
.vector-search-box .cdx-search-input__input {
box-sizing: border-box !important; /* Critical for matching button height */
height: 36px !important;
padding: 0 10px !important;
border: 1px solid #a2a9b1 !important;
border-right: none !important; /* Merge seamlessly with button */
border-radius: 6px 0 0 6px !important;
font-size: 14px !important;
}
/* ✅ Search Button: Fix box-sizing and alignment */
.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;
}
/* Hover effect for the search button */
.vector-search-box button:hover {
background-color: #e0e7ff !important;
border-color: #2563eb !important;
color: #1e40af !important;
}
/* =========================
Sidebar (unchanged)
========================= */
#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;
}
/* Hide default Wikimedia logo if needed */
.mw-footer .mw-wikimedia-logo {
display: none !important;
}
/* =========================
🔥 FOOTER ICONS ALIGNMENT
========================= */
/* Align the "Powered By" logos side-by-side */
#footer-icons {
display: flex !important;
justify-content: flex-end; /* Aligns to the right. Change to 'center' if preferred */
align-items: center !important;
gap: 15px; /* Space between the two logos */
list-style: none !important;
margin: 10px 0 0 0 !important;
padding: 0 !important;
}
/* Ensure individual list items don't force a line break */
#footer-icons li {
display: block !important;
margin: 0 !important;
padding: 0 !important;
float: none !important; /* Overrides default MediaWiki float behavior */
}
/* Force images to be consistent height */
#footer-icons img {
height: 31px !important; /* Standard MediaWiki button height */
width: auto !important;
vertical-align: middle !important;
}