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

সম্পাদনা সারাংশ নেই
ট্যাগ: পুনর্বহালকৃত
সম্পাদনা সারাংশ নেই
 
(৪ জন ব্যবহারকারী দ্বারা সম্পাদিত ৩৬টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
২২ নং লাইন: ২২ নং লাইন:
     max-width: 1100px;
     max-width: 1100px;
     box-shadow: 0 6px 20px rgba(30,58,138,0.08);
     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
   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;
}


/* =========================
/* =========================
   Sidebar
   HEADER LOGO — EXACT SIZE
  ========================= */
#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;
}
 
#mw-panel #p-search input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
}
 
/* =========================
  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;
}
 
/* =========================
  LOGO FIX (Vector 2022)
   ========================= */
   ========================= */
.mw-logo-wordmark,
.mw-logo-wordmark,
১৬৫ নং লাইন: ৪৭ নং লাইন:
}
}


.mw-logo img {
.mw-header .mw-logo img {
     height: 40px;
    width: 128px !important;
     cursor: pointer;
     height: 40px !important;
     object-fit: contain;
}
}


/* =====================================================
/* =====================================================
   🔥 HARD FIX – VECTOR 2022 TOP SEARCH (CODEX OVERRIDE)
   🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
   ===================================================== */
   ===================================================== */


/* Align container */
/* ❌ Remove default floating icons that cause clutter */
.vector-search-box,
/*.vector-search-toggle,*/
.vector-search-box form {
/*.vector-search-toggle-button {*/
    align-items: center !important;
/*    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;*/
/*}*/


/* Input */
/* ✅ Search Button: Fix box-sizing and alignment */
.vector-search-box input,
/*.vector-search-box button,*/
.vector-search-box .cdx-text-input__input,
/*.vector-search-box .cdx-button {*/
.vector-search-box .cdx-search-input__input {
/*    box-sizing: border-box !important;*/
    height: 36px !important;
/*    height: 36px !important;*/
    min-height: 36px !important;
/*    padding: 0 16px !important;*/
    padding: 4px 10px !important;
/*    background-color: #f8f9fa !important;*/
    line-height: 1.2 !important;
/*    border: 1px solid #a2a9b1 !important;*/
    border-radius: 6px !important;
/*    border-radius: 0 6px 6px 0 !important;*/
    box-sizing: border-box !important;
/*    cursor: pointer !important;*/
}
/*    display: inline-flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*    font-weight: bold !important;*/
/*    font-size: 14px !important;*/
/*}*/


/* Button */
/* =========================
.vector-search-box button,
  Sidebar (unchanged)
.vector-search-box .cdx-button {
  ========================= */
     height: 36px !important;
#mw-panel {
    min-height: 36px !important;
     background: #f0f5ff;
    padding: 0 14px !important;
     border-right: 1px solid #dbeafe;
     border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
}


/* =========================
/* =========================
   Footer (Wikimedia style)
   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;
}
}
/* =====================================
  Powered by Katriyam badge
  ===================================== */


.powered-by-katriyam {
/* =========================
     display: inline-flex;
  🔥 FOOTER ICONS ALIGNMENT
     align-items: center;
  ========================= */
     margin-left: 8px;
 
/* 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;
}
}


.powered-by-katriyam img {
 
     height: 32px; /* Same height as MediaWiki badge */
/*Main Page Banner */
     width: auto;
.boipedia-hero-banner {
     display: block;
     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);
}
}