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

mh>Md Mobashir Hossain
সম্পাদনা সারাংশ নেই
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;
     transition: background 0.3s ease-in-out, color 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);
     transition: box-shadow 0.3s ease;
}
}
#content:hover,
#content:hover {
.mw-body:hover {
     box-shadow: 0 10px 28px rgba(30,58,138,0.15);
     box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
}


/* ===== Headings ===== */
/* ====== Headings ====== */
h1, h2, h3, h4, h5 {
h1, h2, h3 {
     color: #1e3a8a;
     color: #1e3a8a;
     font-weight: 600;
     font-weight: 700;
     transition: color 0.2s ease-in-out;
     letter-spacing: -0.4px;
}
h1 {
    font-size: 1.9em;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.2em;
}
}
h1:hover, h2:hover {
h2 {
     color: #2563eb;
    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: color 0.2s ease-in-out, background 0.2s ease-in-out;
     transition: all 0.25s ease;
}
     font-weight: 500;
a:visited {
     color: #1d4ed8;
}
}
a:hover {
a:hover {
     color: #fff;
     color: #1e40af;
     background: #2563eb;
     background: #e0e7ff;
    border-radius: 4px;
     padding: 2px 6px;
     padding: 2px 4px;
     border-radius: 6px;
     text-decoration: none;
}
}


/* ===== Sidebar ===== */
/* ====== Sidebar ====== */
#mw-panel {
#mw-panel {
     background: #f8faff;
     background: #f0f5ff;
     border-right: 1px solid #dbeafe;
     border-right: 1px solid #dbeafe;
     padding-top: 0.5em;
     padding-top: 0.8em;
}
}
#mw-panel .portal h3 {
#mw-panel .portal h3 {
     color: #1e3a8a;
     color: #1e3a8a;
     border-bottom: 1px solid #dbeafe;
    font-size: 1em;
     border-bottom: 1px solid #cbd5e1;
     padding-bottom: 0.3em;
     padding-bottom: 0.3em;
}
}
#mw-panel .portal .body li a {
#mw-panel .portal .body li a {
    display: block;
    padding: 6px 10px;
    margin: 3px 0;
     color: #1e40af;
     color: #1e40af;
    padding: 5px 8px;
     border-radius: 8px;
    display: block;
     transition: all 0.25s ease;
     border-radius: 6px;
     transition: background 0.2s, color 0.2s;
}
}
#mw-panel .portal .body li a:hover {
#mw-panel .portal .body li a:hover {
     background: #2563eb;
     background: linear-gradient(90deg, #2563eb, #1e40af);
     color: #fff;
     color: #fff;
}
}


/* ===== Navigation Tabs ===== */
/* ====== Navigation Tabs ====== */
.vector-menu-tabs li a {
.vector-menu-tabs li a {
     color: #1e3a8a !important;
     color: #1e3a8a !important;
     padding: 6px 12px;
     padding: 8px 14px;
     border-radius: 8px;
     border-radius: 8px;
     transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
    font-weight: 500;
     transition: all 0.25s ease;
}
}
.vector-menu-tabs li a:hover {
.vector-menu-tabs li a:hover {
     background: #2563eb;
     background: linear-gradient(90deg, #2563eb, #1e3a8a);
     color: #fff !important;
     color: #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
}


/* ===== Footer ===== */
/* ====== Footer ====== */
#footer {
#footer {
     background: #f0f4ff;
     background: #f0f5ff;
     border-top: 1px solid #dbeafe;
     border-top: 1px solid #dbeafe;
     padding: 1em;
     padding: 1.2em;
     text-align: center;
     text-align: center;
     color: #334155;
     color: #475569;
     transition: background 0.2s;
     font-size: 0.9em;
}
}
#footer:hover {
#footer:hover {
১০০ নং লাইন: ১০৮ নং লাইন:
}
}


/* ===== Infobox & Tables ===== */
/* ====== Infobox & Tables ====== */
.infobox,
.infobox,
.wikitable {
.wikitable {
     border: 1px solid #cbd5e1;
     border: 1px solid #cbd5e1;
     border-radius: 10px;
     border-radius: 12px;
     margin: 1em auto;
     margin: 1em auto;
     overflow: hidden;
     overflow: hidden;
     transition: box-shadow 0.2s ease-in-out;
    box-shadow: 0 2px 10px rgba(30,58,138,0.08);
     transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}
.infobox:hover,
.infobox:hover,
.wikitable:hover {
.wikitable:hover {
     box-shadow: 0 2px 12px rgba(37,99,235,0.2);
    transform: translateY(-2px);
     box-shadow: 0 6px 16px rgba(30,58,138,0.15);
}
}
.infobox th,
.infobox th,
.wikitable th {
.wikitable th {
     background: #1e3a8a;
     background: linear-gradient(90deg, #1e3a8a, #2563eb);
     color: #fff;
     color: #fff;
     font-weight: 600;
     font-weight: 600;
     padding: 0.6em;
     padding: 0.8em;
}
}
.infobox td,
.infobox td,
.wikitable td {
.wikitable td {
     background: #f8faff;
     background: #f8faff;
     padding: 0.6em;
     padding: 0.7em;
     transition: background 0.2s;
}
.infobox tr:nth-child(even) td,
.wikitable tr:nth-child(even) td {
     background: #eef2ff;
}
}
.infobox tr:hover td,
.infobox tr:hover td,
১৩১ নং লাইন: ১৪৪ নং লাইন:
}
}


/* ===== Search Box ===== */
/* ====== Search Box ====== */
#p-search input {
#p-search input {
     border: 1px solid #93c5fd;
     border: 1px solid #93c5fd;
     border-radius: 8px;
     border-radius: 10px;
     padding: 6px 10px;
     padding: 7px 12px;
     transition: border 0.2s, box-shadow 0.2s;
     transition: all 0.25s ease;
}
}
#p-search input:focus {
#p-search input:focus {
১৪৪ নং লাইন: ১৫৭ নং লাইন:
}
}


/* ===== Buttons ===== */
/* ====== Buttons ====== */
.mw-ui-button,
.mw-ui-button,
button,
button,
input[type="submit"],
input[type="submit"],
input[type="button"] {
input[type="button"] {
     background: #2563eb;
     background: linear-gradient(90deg, #2563eb, #1e40af);
     color: #fff;
     color: #fff;
     border: none;
     border: none;
     border-radius: 8px;
     border-radius: 10px;
     padding: 7px 14px;
     padding: 8px 16px;
     cursor: pointer;
     cursor: pointer;
     transition: background 0.2s ease-in-out, transform 0.1s;
    font-weight: 500;
     transition: all 0.2s ease;
}
}
.mw-ui-button:hover,
.mw-ui-button:hover,
১৬১ নং লাইন: ১৭৫ নং লাইন:
input[type="submit"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
input[type="button"]:hover {
     background: #1e40af;
     background: linear-gradient(90deg, #1e40af, #1e3a8a);
     transform: translateY(-1px);
     transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(30,58,138,0.25);
}
}