মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
অসম্পাদনা সারাংশ নেই |
অসম্পাদনা সারাংশ নেই |
||
| ১৬৯ নং লাইন: | ১৬৯ নং লাইন: | ||
/* ===================================================== | /* ===================================================== | ||
VECTOR 2022 TOP SEARCH FIX | VECTOR 2022 TOP SEARCH — FINAL FIX | ||
===================================================== */ | ===================================================== */ | ||
.vector-search-box, | .vector-search-box, | ||
.vector-search-box form { | .vector-search-box form { | ||
display: flex !important; | |||
align-items: center !important; | align-items: center !important; | ||
} | } | ||
| ১৭৯ নং লাইন: | ১৮০ নং লাইন: | ||
.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 { | ||
height: | height: 38px !important; | ||
padding: | min-height: 38px !important; | ||
border-radius: 6px !important; | line-height: 38px !important; | ||
padding: 0 12px !important; | |||
border-radius: 6px 0 0 6px !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
.vector-search-box button, | .vector-search-box button, | ||
.vector-search-box .cdx-button { | .vector-search-box .cdx-button { | ||
height: | height: 38px !important; | ||
padding: 0 | min-height: 38px !important; | ||
border-radius: 6px !important; | line-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 Powered-by Icons — SAME SIZE & ALIGNMENT | |||
===================================================== */ | ===================================================== */ | ||
.mw-footer .mw-footer-icons { | |||
display: flex !important; | |||
align-items: center !important; | |||
} | |||
/* Force | /* Force same height for MediaWiki + Katriyam */ | ||
.mw-footer .mw-footer-icons img { | .mw-footer .mw-footer-icons img { | ||
height: 31px !important; | height: 31px !important; | ||
width: auto !important; | |||
max-height: 31px !important; | max-height: 31px !important; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
} | } | ||
/* | /* Kill inline width/height attributes */ | ||
.mw-footer .mw-footer-icons img[width], | .mw-footer .mw-footer-icons img[width], | ||
.mw-footer .mw-footer-icons img[height] { | .mw-footer .mw-footer-icons img[height] { | ||
| ২২৭ নং লাইন: | ২৩৮ নং লাইন: | ||
} | } | ||
/* | /* Spacing between badges */ | ||
.mw-footer .mw-footer-icons a { | .mw-footer .mw-footer-icons a { | ||
margin-left: 8px !important; | |||
display: inline-flex !important; | display: inline-flex !important; | ||
align-items: center !important; | align-items: center !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);
}
/* =========================
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;
}
#mw-panel .portal h3 {
color: #1e3a8a;
font-size: 1em;
border-bottom: 1px solid #cbd5e1;
}
#mw-panel .portal .body li a {
display: block;
padding: 6px 10px;
margin: 3px 0;
color: #1e40af;
border-radius: 8px;
}
#mw-panel .portal .body li a:hover {
background: linear-gradient(90deg, #2563eb, #1e40af);
color: #fff;
}
/* =========================
Navigation Tabs
========================= */
.vector-menu-tabs li a {
color: #1e3a8a;
padding: 8px 14px;
border-radius: 8px;
}
.vector-menu-tabs li a:hover {
background: linear-gradient(90deg, #2563eb, #1e3a8a);
color: #fff;
}
/* =========================
Infobox & Tables
========================= */
.infobox,
.wikitable {
border: 1px solid #cbd5e1;
border-radius: 12px;
margin: 1em auto;
overflow: hidden;
}
.infobox th,
.wikitable th {
background: linear-gradient(90deg, #1e3a8a, #2563eb);
color: #fff;
padding: 0.8em;
}
.infobox td,
.wikitable td {
background: #f8faff;
padding: 0.7em;
}
/* =========================
Sidebar Search ONLY
========================= */
#mw-panel #p-search input {
border: 1px solid #93c5fd;
border-radius: 10px;
padding: 7px 12px;
}
/* =========================
Buttons
========================= */
.mw-ui-button,
button,
input[type="submit"],
input[type="button"] {
background: linear-gradient(90deg, #2563eb, #1e40af);
color: #fff;
border: none;
border-radius: 10px;
padding: 8px 16px;
}
/* =====================================================
HEADER LOGO — EXACT SIZE 128x40
===================================================== */
.mw-logo-wordmark,
.mw-wiki-title,
.mw-site-title {
display: none !important;
}
.mw-header .mw-logo img {
width: 128px !important;
height: 40px !important;
max-width: 128px !important;
max-height: 40px !important;
object-fit: contain;
cursor: pointer;
}
/* =====================================================
VECTOR 2022 TOP SEARCH — FINAL FIX
===================================================== */
.vector-search-box,
.vector-search-box form {
display: flex !important;
align-items: center !important;
}
.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;
line-height: 38px !important;
padding: 0 12px !important;
border-radius: 6px 0 0 6px !important;
box-sizing: border-box !important;
}
.vector-search-box button,
.vector-search-box .cdx-button {
height: 38px !important;
min-height: 38px !important;
line-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 (Wikimedia style)
========================= */
.mw-footer {
background: #ffffff;
border-top: 1px solid #a2a9b1;
padding: 1em 1.5em;
font-size: 0.875em;
}
/* Remove Wikimedia Foundation badge */
.mw-footer .mw-wikimedia-logo {
display: none !important;
}
/* =====================================================
Footer Powered-by Icons — SAME SIZE & ALIGNMENT
===================================================== */
.mw-footer .mw-footer-icons {
display: flex !important;
align-items: center !important;
}
/* Force same height for MediaWiki + Katriyam */
.mw-footer .mw-footer-icons img {
height: 31px !important;
width: auto !important;
max-height: 31px !important;
vertical-align: middle !important;
}
/* Kill inline width/height attributes */
.mw-footer .mw-footer-icons img[width],
.mw-footer .mw-footer-icons img[height] {
width: auto !important;
height: 31px !important;
}
/* Spacing between badges */
.mw-footer .mw-footer-icons a {
margin-left: 8px !important;
display: inline-flex !important;
align-items: center !important;
}