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

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

বইপিডিয়া থেকে
সম্পাদনা সারাংশ নেই
সম্পাদনা সারাংশ নেই
 
(৪ জন ব্যবহারকারী দ্বারা সম্পাদিত ৪০টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
৮ নং লাইন: ৮ নং লাইন:
     line-height: 1.7;
     line-height: 1.7;
     margin: 0;
     margin: 0;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
}


২৩ নং লাইন: ২২ নং লাইন:
     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);
    transition: box-shadow 0.3s ease;
}
#content:hover {
    box-shadow: 0 10px 28px rgba(30,58,138,0.15);
}
/* =========================
  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;*/
    transition: all 0.25s ease;
/*    font-weight: 500;*/
    font-weight: 500;
/*}*/
}
a:hover {
    color: #1e40af;
    background: #e0e7ff;
    padding: 2px 6px;
    border-radius: 6px;
}


/* =========================
/*a:hover {*/
  Sidebar
/*    color: #1e40af;*/
  ========================= */
/*    background: #e0e7ff;*/
#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;
    padding-bottom: 0.3em;
}
#mw-panel .portal .body li a {
    display: block;
    padding: 6px 10px;
    margin: 3px 0;
    color: #1e40af;
    border-radius: 8px;
    transition: all 0.25s ease;
}
#mw-panel .portal .body li a:hover {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: #fff;
}


/* =========================
/* =========================
   Navigation Tabs
   HEADER LOGO — EXACT SIZE
   ========================= */
   ========================= */
.vector-menu-tabs li a {
.mw-logo-wordmark,
    color: #1e3a8a;
.mw-wiki-title,
    padding: 8px 14px;
.mw-site-title {
    border-radius: 8px;
     display: none !important;
    font-weight: 500;
    transition: all 0.25s ease;
}
.vector-menu-tabs li a:hover {
     background: linear-gradient(90deg, #2563eb, #1e3a8a);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
}


/* =========================
.mw-header .mw-logo img {
  Footer Base
     width: 128px !important;
  ========================= */
     height: 40px !important;
#footer {
     object-fit: contain;
     background: #f0f5ff;
    border-top: 1px solid #dbeafe;
    padding: 1.2em 0;
     color: #475569;
     font-size: 0.9em;
}
#footer:hover {
    background: #e0e7ff;
}
}


/* =========================
/* =====================================================
   Footer Alignment Fix (Vector 2022)
   🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
   ========================= */
   ===================================================== */
#footer .mw-footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5em;
    text-align: center;
}


#footer .mw-poweredby {
/* ❌ Remove default floating icons that cause clutter */
    float: none;
/*.vector-search-toggle,*/
    display: block;
/*.vector-search-toggle-button {*/
    margin: 0.8em auto 0;
/*    display: none !important;*/
}
/*}*/


/* =========================
/* ✅ Main container: Force row layout */
  Infobox & Tables
/*.vector-search-box,*/
  ========================= */
/*.vector-search-box form {*/
.infobox,
/*    display: flex !important;*/
.wikitable {
/*    align-items: center !important;*/
    border: 1px solid #cbd5e1;
/*    gap: 0 !important;*/
    border-radius: 12px;
/*    margin: 0 !important;*/
    margin: 1em auto;
/*    max-width: 100%;*/
    overflow: hidden;
/*}*/
    box-shadow: 0 2px 10px rgba(30,58,138,0.08);
}
.infobox th,
.wikitable th {
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    color: #fff;
    font-weight: 600;
    padding: 0.8em;
}
.infobox td,
.wikitable td {
    background: #f8faff;
    padding: 0.7em;
}
.infobox tr:nth-child(even) td,
.wikitable tr:nth-child(even) td {
    background: #eef2ff;
}


/* =========================
/* ✅ Input Field: Fix box-sizing and borders */
  Search Box
/*.vector-search-box input,*/
  ========================= */
/*.vector-search-box .cdx-text-input__input,*/
#p-search input {
/*.vector-search-box .cdx-search-input__input {*/
    border: 1px solid #93c5fd;
/*  box-sizing: border-box !important; /* Critical for matching button height */
    border-radius: 10px;
/*    height: 36px !important;*/
    padding: 7px 12px;
/*    padding: 0 10px !important;*/
}
/*    border: 1px solid #a2a9b1 !important;*/
#p-search input:focus {
/*    border-right: none !important; /* Merge seamlessly with button */
    outline: none;
/*    border-radius: 6px 0 0 6px !important;*/
    border-color: #2563eb;
/*    font-size: 14px !important;*/
    box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
/*}*/
}


/* =========================
/* ✅ Search Button: Fix box-sizing and alignment */
  Buttons
/*.vector-search-box button,*/
  ========================= */
/*.vector-search-box .cdx-button {*/
.mw-ui-button,
/*    box-sizing: border-box !important;*/
button,
/*    height: 36px !important;*/
input[type="submit"],
/*    padding: 0 16px !important;*/
input[type="button"] {
/*    background-color: #f8f9fa !important;*/
    background: linear-gradient(90deg, #2563eb, #1e40af);
/*    border: 1px solid #a2a9b1 !important;*/
    color: #fff;
/*    border-radius: 0 6px 6px 0 !important;*/
    border: none;
/*    cursor: pointer !important;*/
    border-radius: 10px;
/*    display: inline-flex !important;*/
    padding: 8px 16px;
/*    align-items: center !important;*/
    cursor: pointer;
/*    justify-content: center !important;*/
    font-weight: 500;
/*    font-weight: bold !important;*/
}
/*    font-size: 14px !important;*/
/*}*/


/* =========================
/* =========================
   LOGO FIX (Vector 2022)
   Sidebar (unchanged)
   ========================= */
   ========================= */
.mw-logo-wordmark,
#mw-panel {
.mw-wiki-title,
.mw-site-title {
    display: none !important;
}
 
.mw-logo img {
    height: 40px;
    width: auto;
    cursor: pointer;
}
 
.mw-logo a {
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
}
/* =========================
  REAL Footer Fix (Vector 2022)
  ========================= */
 
/* Full footer wrapper */
.mw-footer {
     background: #f0f5ff;
     background: #f0f5ff;
     border-top: 1px solid #dbeafe;
     border-right: 1px solid #dbeafe;
    padding: 1.5em 0;
}
 
/* Center footer content to page width */
.mw-footer .mw-footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5em;
    text-align: left;
}
 
/* Footer links spacing */
.mw-footer ul {
    margin: 0.5em 0;
    padding: 0;
}
 
/* Fix Powered by MediaWiki badge */
.mw-footer .mw-poweredby {
    float: right;
    margin-top: 0.5em;
}
}


/* Mobile: stack footer nicely */
@media (max-width: 768px) {
    .mw-footer .mw-poweredby {
        float: none;
        display: block;
        margin: 1em auto 0;
        text-align: center;
    }
    .mw-footer .mw-footer-content {
        text-align: center;
    }
}
/* =========================
/* =========================
   Wikimedia-style Footer
   Footer Base
  MediaWiki badge only (Vector 2022)
   ========================= */
   ========================= */
/* Footer base */
.mw-footer {
.mw-footer {
     background: #ffffff;
     background: #ffffff;
২৭০ নং লাইন: ১১৯ নং লাইন:
     padding: 1em 1.5em;
     padding: 1em 1.5em;
     font-size: 0.875em;
     font-size: 0.875em;
    color: #202122;
}
}


/* Layout: text left, badge right */
/* Hide default Wikimedia logo if needed */
.mw-footer .mw-footer-content {
.mw-footer .mw-wikimedia-logo {
     display: flex;
     display: none !important;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
}


/* Footer text block */
/* =========================
.mw-footer .mw-footer-info {
  🔥 FOOTER ICONS ALIGNMENT
    max-width: 75%;
  ========================= */
}


/* Footer links inline (Wikipedia-style) */
/* Align the "Powered By" logos side-by-side */
.mw-footer ul {
#footer-icons {
     list-style: none;
    display: flex !important;
     margin: 0.5em 0 0;
    justify-content: flex-end; /* Aligns to the right. Change to 'center' if preferred
     padding: 0;
    align-items: center !important;
    gap: 15px; /* Space between the two logos
     list-style: none !important;
     margin: 10px 0 0 0 !important;
     padding: 0 !important;
}
}


.mw-footer li {
/* Ensure individual list items don't force a line break */
     display: inline;
#footer-icons li {
     margin-right: 0.8em;
     display: block !important;
     margin: 0 !important;
    padding: 0 !important;
  float: none !important; /* Overrides default MediaWiki float behavior
}
}


.mw-footer li::after {
/* Force images to be consistent height */
     content: "·";
#footer-icons img {
     margin-left: 0.8em;
     height: 31px !important; /* Standard MediaWiki button height
     color: #54595d;
     width: auto !important;
     vertical-align: middle !important;
}
}


.mw-footer li:last-child::after {
    content: "";
}


/* Footer links color */
/*Main Page Banner */
.mw-footer a {
.boipedia-hero-banner {
     color: #0645ad;
     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');
    text-decoration: none;
     background-size: cover, 150px;
}
    background-repeat: no-repeat, repeat;
 
     background-position: center, center;
.mw-footer a:hover {
     color: white;
    text-decoration: underline;
     padding: 50px 20px;
}
    text-align: center;
 
     border-radius: 12px;
/* REMOVE Wikimedia badge completely */
     margin-bottom: 25px;
.mw-footer .mw-wikimedia-logo {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
     display: none !important;
     border: 1px solid rgba(255,255,255,0.1);
}
 
/* Keep ONLY Powered by MediaWiki badge */
.mw-footer .mw-footer-icons {
    display: flex;
     align-items: center;
}
 
.mw-footer .mw-poweredby {
     float: none;
     margin: 0;
}
 
/* Mobile behavior */
@media (max-width: 768px) {
     .mw-footer .mw-footer-content {
        flex-direction: column;
     }
 
    .mw-footer .mw-footer-icons {
        margin-top: 1em;
        align-self: flex-end;
     }
}
}

১৬:২৬, ১১ মার্চ ২০২৬ তারিখে সম্পাদিত সর্বশেষ সংস্করণ

/* =========================
   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;*/
/*}*/

/* =========================
   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;
}

/* =====================================================
   🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
   ===================================================== */

/* ❌ Remove default floating icons that cause clutter */
/*.vector-search-toggle,*/
/*.vector-search-toggle-button {*/
/*    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;*/
/*}*/

/* ✅ 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 (unchanged)
   ========================= */
#mw-panel {
    background: #f0f5ff;
    border-right: 1px solid #dbeafe;
}

/* =========================
   Footer Base
   ========================= */
.mw-footer {
    background: #ffffff;
    border-top: 1px solid #a2a9b1;
    padding: 1em 1.5em;
    font-size: 0.875em;
}

/* Hide default Wikimedia logo if needed */
.mw-footer .mw-wikimedia-logo {
    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);
}