মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
অসম্পাদনা সারাংশ নেই |
অসম্পাদনা সারাংশ নেই |
||
| ২৫ নং লাইন: | ২৫ নং লাইন: | ||
transition: box-shadow 0.3s ease; | transition: box-shadow 0.3s ease; | ||
} | } | ||
#content:hover { | #content:hover { | ||
box-shadow: 0 10px 28px rgba(30,58,138,0.15); | box-shadow: 0 10px 28px rgba(30,58,138,0.15); | ||
| ৩৭ নং লাইন: | ৩৮ নং লাইন: | ||
letter-spacing: -0.4px; | letter-spacing: -0.4px; | ||
} | } | ||
h1 { | h1 { | ||
font-size: 1.9em; | font-size: 1.9em; | ||
| ৪২ নং লাইন: | ৪৪ নং লাইন: | ||
padding-bottom: 0.2em; | padding-bottom: 0.2em; | ||
} | } | ||
h2 { | h2 { | ||
font-size: 1.5em; | font-size: 1.5em; | ||
| ৫৭ নং লাইন: | ৬০ নং লাইন: | ||
font-weight: 500; | font-weight: 500; | ||
} | } | ||
a:hover { | a:hover { | ||
color: #1e40af; | color: #1e40af; | ||
| ৭২ নং লাইন: | ৭৬ নং লাইন: | ||
padding-top: 0.8em; | padding-top: 0.8em; | ||
} | } | ||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
color: #1e3a8a; | color: #1e3a8a; | ||
| ৭৮ নং লাইন: | ৮৩ নং লাইন: | ||
padding-bottom: 0.3em; | padding-bottom: 0.3em; | ||
} | } | ||
#mw-panel .portal .body li a { | #mw-panel .portal .body li a { | ||
display: block; | display: block; | ||
| ৮৬ নং লাইন: | ৯২ নং লাইন: | ||
transition: all 0.25s ease; | transition: all 0.25s ease; | ||
} | } | ||
#mw-panel .portal .body li a:hover { | #mw-panel .portal .body li a:hover { | ||
background: linear-gradient(90deg, #2563eb, #1e40af); | background: linear-gradient(90deg, #2563eb, #1e40af); | ||
| ১০১ নং লাইন: | ১০৮ নং লাইন: | ||
transition: all 0.25s ease; | transition: all 0.25s ease; | ||
} | } | ||
.vector-menu-tabs li a:hover { | .vector-menu-tabs li a:hover { | ||
background: linear-gradient(90deg, #2563eb, #1e3a8a); | background: linear-gradient(90deg, #2563eb, #1e3a8a); | ||
color: #fff; | color: #fff; | ||
box-shadow: 0 2px 6px rgba(0,0,0,0.15); | box-shadow: 0 2px 6px rgba(0,0,0,0.15); | ||
} | } | ||
| ১৪৮ নং লাইন: | ১২৬ নং লাইন: | ||
box-shadow: 0 2px 10px rgba(30,58,138,0.08); | box-shadow: 0 2px 10px rgba(30,58,138,0.08); | ||
} | } | ||
.infobox th, | .infobox th, | ||
.wikitable th { | .wikitable th { | ||
| ১৫৫ নং লাইন: | ১৩৪ নং লাইন: | ||
padding: 0.8em; | padding: 0.8em; | ||
} | } | ||
.infobox td, | .infobox td, | ||
.wikitable td { | .wikitable td { | ||
background: #f8faff; | background: #f8faff; | ||
padding: 0.7em; | padding: 0.7em; | ||
} | } | ||
| ১৭৩ নং লাইন: | ১৪৯ নং লাইন: | ||
padding: 7px 12px; | padding: 7px 12px; | ||
} | } | ||
#p-search input:focus { | #p-search input:focus { | ||
outline: none; | outline: none; | ||
| ২১৪ নং লাইন: | ১৯১ নং লাইন: | ||
align-items: center; | align-items: center; | ||
pointer-events: auto; | pointer-events: auto; | ||
} | } | ||
/* ========================= | /* ========================= | ||
Wikimedia-style | FINAL FOOTER (Wikimedia-style) | ||
MediaWiki badge | MediaWiki badge ONLY | ||
Vector 2022 | |||
========================= */ | ========================= */ | ||
.mw-footer { | .mw-footer { | ||
background: #ffffff; | background: #ffffff; | ||
| ২৭৩ নং লাইন: | ২০৭ নং লাইন: | ||
} | } | ||
.mw-footer .mw-footer-content { | .mw-footer .mw-footer-content { | ||
display: flex; | display: flex; | ||
| ২৮১ নং লাইন: | ২১৪ নং লাইন: | ||
} | } | ||
.mw-footer .mw-footer-info { | .mw-footer .mw-footer-info { | ||
max-width: | max-width: 80%; | ||
line-height: 1.6; | |||
} | } | ||
.mw-footer ul { | .mw-footer ul { | ||
list-style: none; | list-style: none; | ||
| ২৯৫ নং লাইন: | ২২৭ নং লাইন: | ||
.mw-footer li { | .mw-footer li { | ||
display: inline; | display: inline; | ||
margin-right: 0. | margin-right: 0.75em; | ||
} | } | ||
.mw-footer li::after { | .mw-footer li::after { | ||
content: "·"; | content: "·"; | ||
margin-left: 0. | margin-left: 0.75em; | ||
color: #54595d; | color: #54595d; | ||
} | } | ||
| ৩০৮ নং লাইন: | ২৪০ নং লাইন: | ||
} | } | ||
.mw-footer a { | .mw-footer a { | ||
color: #0645ad; | color: #0645ad; | ||
| ৩১৮ নং লাইন: | ২৪৯ নং লাইন: | ||
} | } | ||
/* | /* Remove Wikimedia badge */ | ||
.mw-footer .mw-wikimedia-logo { | .mw-footer .mw-wikimedia-logo { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* Keep | /* Keep only Powered by MediaWiki */ | ||
.mw-footer .mw-footer-icons { | .mw-footer .mw-footer-icons { | ||
display: flex; | display: flex; | ||
| ৩৩০ নং লাইন: | ২৬১ নং লাইন: | ||
.mw-footer .mw-poweredby { | .mw-footer .mw-poweredby { | ||
margin: 0; | margin: 0; | ||
} | } | ||
/* Mobile | /* Mobile */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.mw-footer .mw-footer-content { | .mw-footer .mw-footer-content { | ||
২৩:৩৫, ১৪ ডিসেম্বর ২০২৫ তারিখে সংশোধিত সংস্করণ
/* =========================
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;
transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
/* =========================
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);
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
========================= */
a {
color: #2563eb;
text-decoration: none;
transition: all 0.25s ease;
font-weight: 500;
}
a:hover {
color: #1e40af;
background: #e0e7ff;
padding: 2px 6px;
border-radius: 6px;
}
/* =========================
Sidebar
========================= */
#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
========================= */
.vector-menu-tabs li a {
color: #1e3a8a;
padding: 8px 14px;
border-radius: 8px;
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);
}
/* =========================
Infobox & Tables
========================= */
.infobox,
.wikitable {
border: 1px solid #cbd5e1;
border-radius: 12px;
margin: 1em auto;
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;
}
/* =========================
Search Box
========================= */
#p-search input {
border: 1px solid #93c5fd;
border-radius: 10px;
padding: 7px 12px;
}
#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;
cursor: pointer;
font-weight: 500;
}
/* =========================
LOGO FIX (Vector 2022)
========================= */
.mw-logo-wordmark,
.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;
}
/* =========================
FINAL FOOTER (Wikimedia-style)
MediaWiki badge ONLY
Vector 2022
========================= */
.mw-footer {
background: #ffffff;
border-top: 1px solid #a2a9b1;
padding: 1em 1.5em;
font-size: 0.875em;
color: #202122;
}
.mw-footer .mw-footer-content {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}
.mw-footer .mw-footer-info {
max-width: 80%;
line-height: 1.6;
}
.mw-footer ul {
list-style: none;
margin: 0.5em 0 0;
padding: 0;
}
.mw-footer li {
display: inline;
margin-right: 0.75em;
}
.mw-footer li::after {
content: "·";
margin-left: 0.75em;
color: #54595d;
}
.mw-footer li:last-child::after {
content: "";
}
.mw-footer a {
color: #0645ad;
text-decoration: none;
}
.mw-footer a:hover {
text-decoration: underline;
}
/* Remove Wikimedia badge */
.mw-footer .mw-wikimedia-logo {
display: none !important;
}
/* Keep only Powered by MediaWiki */
.mw-footer .mw-footer-icons {
display: flex;
align-items: center;
}
.mw-footer .mw-poweredby {
margin: 0;
}
/* Mobile */
@media (max-width: 768px) {
.mw-footer .mw-footer-content {
flex-direction: column;
}
.mw-footer .mw-footer-icons {
margin-top: 1em;
align-self: flex-end;
}
}