মিডিয়াউইকি: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", Arial, 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;
}
}


/* ====== 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.05);
    max-width: 1100px;
     box-shadow: 0 6px 20px rgba(30,58,138,0.08);
}
}


/* ====== Headings ====== */
/* =========================
h1, h2, h3, h4, h5 {
  Links
    color: #1e3a8a;
  ========================= */
    font-weight: 600;
/*a {*/
    letter-spacing: -0.3px;
/*    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;
}
}


/* ====== Links ====== */
.mw-header .mw-logo img {
a {
     width: 128px !important;
    color: #2563eb;
     height: 40px !important;
    text-decoration: none;
     object-fit: contain;
    transition: color 0.2s ease-in-out;
}
a:visited {
     color: #1d4ed8;
}
a:hover {
     color: #1e40af;
     text-decoration: underline;
}
}


/* ====== Sidebar ====== */
/* =====================================================
#mw-panel {
  🔥 FIXED SEARCH ALIGNMENT (Vector 2022)
    background: #f8faff;
  ===================================================== */
    border-right: 1px solid #dbeafe;
    padding-top: 0.5em;
}
#mw-panel .portal h3 {
    color: #1e3a8a;
    border-bottom: 1px solid #dbeafe;
    padding-bottom: 0.3em;
    margin-bottom: 0.4em;
}
#mw-panel .portal .body li a {
    color: #1e40af;
    padding: 4px 6px;
    display: block;
    border-radius: 6px;
}
#mw-panel .portal .body li a:hover {
    background: #e0e7ff;
}


/* ====== Personal / Navigation Tabs ====== */
/* ❌ Remove default floating icons that cause clutter */
#p-personal li a,
/*.vector-search-toggle,*/
.vector-menu-tabs li a {
/*.vector-search-toggle-button {*/
    color: #1e3a8a !important;
/*    display: none !important;*/
    padding: 6px 10px;
/*}*/
    border-radius: 6px;
}
#p-personal li a:hover,
.vector-menu-tabs li a:hover {
    background: #e0e7ff;
}


/* ====== Footer ====== */
/* ✅ Main container: Force row layout */
#footer {
/*.vector-search-box,*/
    background: #f0f4ff;
/*.vector-search-box form {*/
    border-top: 1px solid #dbeafe;
/*    display: flex !important;*/
    padding: 1em;
/*    align-items: center !important;*/
    text-align: center;
/*    gap: 0 !important;*/
    color: #334155;
/*    margin: 0 !important;*/
}
/*    max-width: 100%;*/
/*}*/


/* ====== Infobox & Tables ====== */
/* ✅ Input Field: Fix box-sizing and borders */
.infobox,
/*.vector-search-box input,*/
.wikitable {
/*.vector-search-box .cdx-text-input__input,*/
    border: 1px solid #cbd5e1;
/*.vector-search-box .cdx-search-input__input {*/
    border-radius: 10px;
/*  box-sizing: border-box !important; /* Critical for matching button height */
    overflow: hidden;
/*    height: 36px !important;*/
    margin: 1em auto;
/*    padding: 0 10px !important;*/
}
/*    border: 1px solid #a2a9b1 !important;*/
.infobox th,
/*    border-right: none !important; /* Merge seamlessly with button */
.wikitable th {
/*    border-radius: 6px 0 0 6px !important;*/
    background: #1e3a8a;
/*    font-size: 14px !important;*/
    color: #fff;
/*}*/
    font-weight: 600;
    padding: 0.6em;
}
.infobox td,
.wikitable td {
    background: #f8faff;
    padding: 0.6em;
}
.infobox tr:nth-child(even) td,
.wikitable tr:nth-child(even) td {
    background: #eef2ff;
}


/* ====== Search Box ====== */
/* Search Button: Fix box-sizing and alignment */
#p-search input {
/*.vector-search-box button,*/
    border: 1px solid #93c5fd;
/*.vector-search-box .cdx-button {*/
    border-radius: 8px;
/*    box-sizing: border-box !important;*/
    padding: 5px 8px;
/*    height: 36px !important;*/
}
/*    padding: 0 16px !important;*/
#p-search input:focus {
/*    background-color: #f8f9fa !important;*/
    outline: none;
/*    border: 1px solid #a2a9b1 !important;*/
    border-color: #2563eb;
/*    border-radius: 0 6px 6px 0 !important;*/
    box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
/*    cursor: pointer !important;*/
}
/*    display: inline-flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*    font-weight: bold !important;*/
/*    font-size: 14px !important;*/
/*}*/


/* ====== Buttons ====== */
/* =========================
.mw-ui-button,
  Sidebar (unchanged)
button,
  ========================= */
input[type="submit"],
#mw-panel {
input[type="button"] {
     background: #f0f5ff;
    background: #2563eb;
     border-right: 1px solid #dbeafe;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
.mw-ui-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #1e40af;
}
/* ====== Base Setup ====== */
body {
     background: #f0f4ff; /* হালকা নীল ব্যাকগ্রাউন্ড */
     color: #1e293b;      /* ডার্ক টেক্সট */
    font-family: "Segoe UI", "Noto Sans Bengali", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
}
}


/* ====== Main Content Box ====== */
/* =========================
#content,
  Footer Base
.mw-body {
  ========================= */
.mw-footer {
     background: #ffffff;
     background: #ffffff;
     border: 1px solid #dbeafe;
     border-top: 1px solid #a2a9b1;
    border-radius: 12px;
     padding: 1em 1.5em;
     padding: 1.2em;
     font-size: 0.875em;
    margin: 1em auto;
     box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
}


/* ====== Headings ====== */
/* Hide default Wikimedia logo if needed */
h1, h2, h3, h4, h5 {
.mw-footer .mw-wikimedia-logo {
     color: #1e3a8a;
     display: none !important;
    font-weight: 600;
    letter-spacing: -0.3px;
}
}


/* ====== Links ====== */
/* =========================
a {
  🔥 FOOTER ICONS ALIGNMENT
    color: #2563eb;
  ========================= */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
a:visited {
    color: #1d4ed8;
}
a:hover {
    color: #1e40af;
    text-decoration: underline;
}


/* ====== Sidebar ====== */
/* Align the "Powered By" logos side-by-side */
#mw-panel {
#footer-icons {
     background: #f8faff;
     display: flex !important;
     border-right: 1px solid #dbeafe;
     justify-content: flex-end; /* Aligns to the right. Change to 'center' if preferred
    padding-top: 0.5em;
     align-items: center !important;
}
     gap: 15px; /* Space between the two logos
#mw-panel .portal h3 {
     list-style: none !important;
     color: #1e3a8a;
     margin: 10px 0 0 0 !important;
     border-bottom: 1px solid #dbeafe;
     padding: 0 !important;
     padding-bottom: 0.3em;
     margin-bottom: 0.4em;
}
#mw-panel .portal .body li a {
    color: #1e40af;
     padding: 4px 6px;
    display: block;
    border-radius: 6px;
}
#mw-panel .portal .body li a:hover {
    background: #e0e7ff;
}
}


/* ====== Personal / Navigation Tabs ====== */
/* Ensure individual list items don't force a line break */
#p-personal li a,
#footer-icons li {
.vector-menu-tabs li a {
     display: block !important;
     color: #1e3a8a !important;
     margin: 0 !important;
     padding: 6px 10px;
     padding: 0 !important;
     border-radius: 6px;
  float: none !important; /* Overrides default MediaWiki float behavior
}
#p-personal li a:hover,
.vector-menu-tabs li a:hover {
    background: #e0e7ff;
}
 
/* ====== Footer ====== */
#footer {
    background: #f0f4ff;
    border-top: 1px solid #dbeafe;
    padding: 1em;
    text-align: center;
    color: #334155;
}
}


/* ====== Infobox & Tables ====== */
/* Force images to be consistent height */
.infobox,
#footer-icons img {
.wikitable {
     height: 31px !important; /* Standard MediaWiki button height
    border: 1px solid #cbd5e1;
     width: auto !important;
    border-radius: 10px;
     vertical-align: middle !important;
     overflow: hidden;
     margin: 1em auto;
}
.infobox th,
.wikitable th {
    background: #1e3a8a;
     color: #fff;
    font-weight: 600;
    padding: 0.6em;
}
.infobox td,
.wikitable td {
    background: #f8faff;
    padding: 0.6em;
}
.infobox tr:nth-child(even) td,
.wikitable tr:nth-child(even) td {
    background: #eef2ff;
}
}


/* ====== Search Box ====== */
#p-search input {
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 5px 8px;
}
#p-search input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
}


/* ====== Buttons ====== */
/*Main Page Banner */
.mw-ui-button,
.boipedia-hero-banner {
button,
    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');
input[type="submit"],
    background-size: cover, 150px;
input[type="button"] {
    background-repeat: no-repeat, repeat;
     background: #2563eb;
     background-position: center, center;
     color: #fff;
     color: white;
     border: none;
     padding: 50px 20px;
     border-radius: 8px;
     text-align: center;
     padding: 6px 12px;
     border-radius: 12px;
     cursor: pointer;
     margin-bottom: 25px;
     transition: background 0.2s ease-in-out;
     box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
    border: 1px solid rgba(255,255,255,0.1);
.mw-ui-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #1e40af;
}
}