মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য

সম্পাদনা সারাংশ নেই
সম্পাদনা সারাংশ নেই
 
(৪ জন ব্যবহারকারী দ্বারা সম্পাদিত ২৫টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
২৭ নং লাইন: ২৭ নং লাইন:
   Links
   Links
   ========================= */
   ========================= */
a {
/*a {*/
    color: #2563eb;
/*    color: #2563eb;*/
    text-decoration: none;
/*    text-decoration: none;*/
    font-weight: 500;
/*    font-weight: 500;*/
}
/*}*/


a:hover {
/*a:hover {*/
    color: #1e40af;
/*    color: #1e40af;*/
    background: #e0e7ff;
/*    background: #e0e7ff;*/
    padding: 2px 6px;
/*}*/
    border-radius: 6px;
}


/* =========================
/* =========================
৫৬ নং লাইন: ৫৪ নং লাইন:


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


/* ❌ Remove the floating magnifier icon */
/* ❌ Remove default floating icons that cause clutter */
.vector-search-toggle,
/*.vector-search-toggle,*/
.vector-search-toggle-button,
/*.vector-search-toggle-button {*/
.mw-header .cdx-button--icon-only {
/*    display: none !important;*/
    display: none !important;
/*}*/
}
 
/* ✅ Ensure search container stays inline */
.vector-search-box {
    display: flex !important;
    align-items: center !important;
}


/* ✅ Search form layout */
/* ✅ Main container: Force row layout */
.vector-search-box form {
/*.vector-search-box,*/
    display: flex !important;
/*.vector-search-box form {*/
    align-items: center !important;
/*    display: flex !important;*/
    gap: 0 !important;
/*    align-items: center !important;*/
}
/*    gap: 0 !important;*/
/*    margin: 0 !important;*/
/*    max-width: 100%;*/
/*}*/


/* ✅ Search input */
/* ✅ Input Field: Fix box-sizing and borders */
.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 {*/
    height: 36px !important;
/*  box-sizing: border-box !important; /* Critical for matching button height */
    padding: 6px 10px !important;
/*    height: 36px !important;*/
    border-radius: 6px 0 0 6px !important;
/*    padding: 0 10px !important;*/
    line-height: normal !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 */
/* ✅ Search Button: Fix box-sizing and alignment */
.vector-search-box button,
/*.vector-search-box button,*/
.vector-search-box .cdx-button {
/*.vector-search-box .cdx-button {*/
    height: 36px !important;
/*    box-sizing: border-box !important;*/
    padding: 0 14px !important;
/*    height: 36px !important;*/
    border-radius: 0 6px 6px 0 !important;
/*    padding: 0 16px !important;*/
    display: inline-flex !important;
/*    background-color: #f8f9fa !important;*/
    align-items: center !important;
/*    border: 1px solid #a2a9b1 !important;*/
    justify-content: center !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;*/
/*}*/


/* =========================
/* =========================
১০৯ নং লাইন: ১১২ নং লাইন:


/* =========================
/* =========================
   Footer (unchanged)
   Footer Base
   ========================= */
   ========================= */
.mw-footer {
.mw-footer {
১১৮ নং লাইন: ১২১ নং লাইন:
}
}


/* 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 {
    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;
}
/*Main Page Banner */
.boipedia-hero-banner {
    background-image: linear-gradient(135deg, rgba(26, 42, 108, 0.93), rgba(178, 31, 31, 0.93), rgba(253, 187, 45, 0.93)), url('https://boipedia.org/images/7/79/Open_Book_B%26W.jpg');
    background-size: cover, 150px;
    background-repeat: no-repeat, repeat;
    background-position: center, center;
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}
/* Boipedia Anniversary Banner */
#boipedia-anniversary-banner {
    margin: 10px 0;
    padding: 12px 16px;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 15px;
    position: relative;
}
#boipedia-banner-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #54595d;
    margin-left: 10px;
}
#boipedia-banner-close:hover {
    color: #d73333;
}
}