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

mh>Md Mobashir Hossain
সম্পাদনা সারাংশ নেই
সম্পাদনা সারাংশ নেই
 
(৫ জন ব্যবহারকারী দ্বারা সম্পাদিত ৫০টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
১ নং লাইন: ১ নং লাইন:
/* ===== Base Setup ===== */
/* =========================
  Global Base
  ========================= */
body {
body {
     background: #f0f4ff; /* হালকা নীল ব্যাকগ্রাউন্ড */
     background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
     color: #1e293b;
     color: #1e293b;
     font-family: "Segoe UI", "Noto Sans Bengali", sans-serif;
     font-family: "Segoe UI", "Noto Sans Bengali", "Helvetica Neue", sans-serif;
     line-height: 1.6;
     line-height: 1.7;
     margin: 0;
     margin: 0;
    transition: background 0.3s ease-in-out;
}
}


/* ===== Main Content Box ===== */
/* =========================
  Main Content
  ========================= */
#content,
#content,
.mw-body {
.mw-body {
     background: #ffffff;
     background: #ffffff;
     border: 1px solid #dbeafe;
     border: 1px solid #dbeafe;
     border-radius: 12px;
     border-radius: 14px;
     padding: 1.2em;
     padding: 1.5em;
     margin: 1em auto;
     margin: 1.5em auto;
     box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    max-width: 1100px;
    transition: box-shadow 0.3s ease-in-out;
     box-shadow: 0 6px 20px rgba(30,58,138,0.08);
}
}
#content:hover,
 
.mw-body:hover {
/* =========================
     box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  Links
  ========================= */
/*a {*/
/*    color: #2563eb;*/
/*    text-decoration: none;*/
/*    font-weight: 500;*/
/*}*/
 
/*a:hover {*/
/*    color: #1e40af;*/
/*    background: #e0e7ff;*/
/*}*/
 
/* =========================
  HEADER LOGO — EXACT SIZE
  ========================= */
.mw-logo-wordmark,
.mw-wiki-title,
.mw-site-title {
     display: none !important;
}
}


/* ===== Headings ===== */
.mw-header .mw-logo img {
h1, h2, h3, h4, h5 {
     width: 128px !important;
     color: #1e3a8a;
     height: 40px !important;
     font-weight: 600;
     object-fit: contain;
     transition: color 0.2s ease-in-out;
}
h1:hover, h2:hover {
    color: #2563eb;
}
}


/* ===== Links ===== */
/* =====================================================
a {
  🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
    color: #2563eb;
  ===================================================== */
    text-decoration: none;
 
    transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
/* ❌ Remove default floating icons that cause clutter */
}
/*.vector-search-toggle,*/
a:visited {
/*.vector-search-toggle-button {*/
    color: #1d4ed8;
/*    display: none !important;*/
}
/*}*/
a:hover {
 
    color: #fff;
/* ✅ Main container: Force row layout */
    background: #2563eb;
/*.vector-search-box,*/
    border-radius: 4px;
/*.vector-search-box form {*/
    padding: 2px 4px;
/*    display: flex !important;*/
    text-decoration: none;
/*    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;*/
/*}*/


/* ===== Sidebar ===== */
/* =========================
  Sidebar (unchanged)
  ========================= */
#mw-panel {
#mw-panel {
     background: #f8faff;
     background: #f0f5ff;
     border-right: 1px solid #dbeafe;
     border-right: 1px solid #dbeafe;
    padding-top: 0.5em;
}
}
#mw-panel .portal h3 {
 
     color: #1e3a8a;
/* =========================
     border-bottom: 1px solid #dbeafe;
  Footer Base
     padding-bottom: 0.3em;
  ========================= */
.mw-footer {
     background: #ffffff;
     border-top: 1px solid #a2a9b1;
     padding: 1em 1.5em;
    font-size: 0.875em;
}
}
#mw-panel .portal .body li a {
 
    color: #1e40af;
/* Hide default Wikimedia logo if needed */
    padding: 5px 8px;
.mw-footer .mw-wikimedia-logo {
     display: block;
     display: none !important;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
}
#mw-panel .portal .body li a:hover {
 
     background: #2563eb;
/* =========================
     color: #fff;
  🔥 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;
}
}


/* ===== Navigation Tabs ===== */
/* Ensure individual list items don't force a line break */
.vector-menu-tabs li a {
#footer-icons li {
     color: #1e3a8a !important;
     display: block !important;
     padding: 6px 12px;
     margin: 0 !important;
     border-radius: 8px;
     padding: 0 !important;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  float: none !important; /* Overrides default MediaWiki float behavior
}
}
.vector-menu-tabs li a:hover {
 
     background: #2563eb;
/* Force images to be consistent height */
     color: #fff !important;
#footer-icons img {
    height: 31px !important; /* Standard MediaWiki button height
     width: auto !important;
     vertical-align: middle !important;
}
}


/* ===== Footer ===== */
 
#footer {
/*Main Page Banner */
     background: #f0f4ff;
.boipedia-hero-banner {
     border-top: 1px solid #dbeafe;
     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');
     padding: 1em;
    background-size: cover, 150px;
     background-repeat: no-repeat, repeat;
    background-position: center, center;
    color: white;
     padding: 50px 20px;
     text-align: center;
     text-align: center;
     color: #334155;
     border-radius: 12px;
     transition: background 0.2s;
     margin-bottom: 25px;
}
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
#footer:hover {
     border: 1px solid rgba(255,255,255,0.1);
     background: #e0e7ff;
}
}
/* Boipedia Anniversary Banner */


/* ===== Infobox & Tables ===== */
#boipedia-anniversary-banner {
.infobox,
     margin: 10px 0;
.wikitable {
     padding: 12px 16px;
    border: 1px solid #cbd5e1;
     border: 1px solid #a2a9b1;
    border-radius: 10px;
     background: #f8f9fa;
     margin: 1em auto;
     border-radius: 6px;
    overflow: hidden;
     font-size: 15px;
    transition: box-shadow 0.2s ease-in-out;
     position: relative;
}
.infobox:hover,
.wikitable:hover {
     box-shadow: 0 2px 12px rgba(37,99,235,0.2);
}
.infobox th,
.wikitable th {
     background: #1e3a8a;
     color: #fff;
     font-weight: 600;
     padding: 0.6em;
}
.infobox td,
.wikitable td {
     background: #f8faff;
    padding: 0.6em;
    transition: background 0.2s;
}
.infobox tr:hover td,
.wikitable tr:hover td {
    background: #dbeafe;
}
}


/* ===== Search Box ===== */
#boipedia-banner-close {
#p-search input {
     float: right;
     border: 1px solid #93c5fd;
     cursor: pointer;
     border-radius: 8px;
     font-size: 20px;
     padding: 6px 10px;
     font-weight: bold;
     transition: border 0.2s, box-shadow 0.2s;
     color: #54595d;
}
     margin-left: 10px;
#p-search input:focus {
    outline: none;
     border-color: #2563eb;
     box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
}
}


/* ===== Buttons ===== */
#boipedia-banner-close:hover {
.mw-ui-button,
     color: #d73333;
button,
input[type="submit"],
input[type="button"] {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.2s ease-in-out, transform 0.1s;
}
.mw-ui-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
     background: #1e40af;
    transform: translateY(-1px);
}
}