বিষয়বস্তুতে চলুন

মিডিয়াউইকি:Common.css

বইপিডিয়া থেকে

লক্ষ্য করুন: প্রকাশ করার পর, পরিবর্তনগুলো দেখতে আপনাকে আপনার ব্রাউজারের ক্যাশে পরিষ্কার করার প্রয়োজন হতে পারে।

  • ফায়ারফক্স / সাফারি: পুনরায় লোড-এ ক্লিক করার সময় শিফট টিপে ধরে রাখুন, অথবা হয় Ctrl-F5 বা Ctrl-R টিপুন (ম্যাকে ⌘-R টিপুন)
  • গুগল ক্রোম: Ctrl-Shift-R (ম্যাকে ⌘-Shift-R) টিপুন
  • এজ: Ctrl ধরে রাখা অবস্থায় Refresh-এ ক্লিক করুন, অথবা Ctrl-F5 টিপুন।
  • অপেরা: Ctrl-F5 টিপুন।
/* =========================
   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;
}

/* =====================================================
   🔥 ONLY SEARCH FIX — VECTOR 2022 (NO SIDE EFFECTS)
   ===================================================== */

/* ❌ Remove the floating magnifier icon */
.vector-search-toggle,
.vector-search-toggle-button,
.mw-header .cdx-button--icon-only {
    display: none !important;
}

/* ✅ Ensure search container stays inline */
.vector-search-box {
    display: flex !important;
    align-items: center !important;
}

/* ✅ Search form layout */
.vector-search-box form {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

/* ✅ Search input */
.vector-search-box input,
.vector-search-box .cdx-text-input__input,
.vector-search-box .cdx-search-input__input {
    height: 36px !important;
    padding: 6px 10px !important;
    border-radius: 6px 0 0 6px !important;
    line-height: normal !important;
}

/* ✅ Search button */
.vector-search-box button,
.vector-search-box .cdx-button {
    height: 36px !important;
    padding: 0 14px !important;
    border-radius: 0 6px 6px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================
   Sidebar (unchanged)
   ========================= */
#mw-panel {
    background: #f0f5ff;
    border-right: 1px solid #dbeafe;
}

/* =========================
   Footer (unchanged)
   ========================= */
.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;
}