মিডিয়াউইকি:Common.css
অবয়ব
লক্ষ্য করুন: প্রকাশ করার পর, পরিবর্তনগুলো দেখতে আপনাকে আপনার ব্রাউজারের ক্যাশে পরিষ্কার করার প্রয়োজন হতে পারে।
- ফায়ারফক্স / সাফারি: পুনরায় লোড-এ ক্লিক করার সময় শিফট টিপে ধরে রাখুন, অথবা হয় Ctrl-F5 বা Ctrl-R টিপুন (ম্যাকে ⌘-R টিপুন)
- গুগল ক্রোম: Ctrl-Shift-R (ম্যাকে ⌘-Shift-R) টিপুন
- এজ: Ctrl ধরে রাখা অবস্থায় Refresh-এ ক্লিক করুন, অথবা Ctrl-F5 টিপুন।
- অপেরা: Ctrl-F5 টিপুন।
/* ===== Base Setup ===== */
body {
background: #f0f4ff; /* হালকা নীল ব্যাকগ্রাউন্ড */
color: #1e293b;
font-family: "Segoe UI", "Noto Sans Bengali", sans-serif;
line-height: 1.6;
margin: 0;
transition: background 0.3s ease-in-out;
}
/* ===== Main Content Box ===== */
#content,
.mw-body {
background: #ffffff;
border: 1px solid #dbeafe;
border-radius: 12px;
padding: 1.2em;
margin: 1em auto;
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
transition: box-shadow 0.3s ease-in-out;
}
#content:hover,
.mw-body:hover {
box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
/* ===== Headings ===== */
h1, h2, h3, h4, h5 {
color: #1e3a8a;
font-weight: 600;
transition: color 0.2s ease-in-out;
}
h1:hover, h2:hover {
color: #2563eb;
}
/* ===== Links ===== */
a {
color: #2563eb;
text-decoration: none;
transition: color 0.2s ease-in-out, background 0.2s ease-in-out;
}
a:visited {
color: #1d4ed8;
}
a:hover {
color: #fff;
background: #2563eb;
border-radius: 4px;
padding: 2px 4px;
text-decoration: none;
}
/* ===== Sidebar ===== */
#mw-panel {
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;
}
#mw-panel .portal .body li a {
color: #1e40af;
padding: 5px 8px;
display: block;
border-radius: 6px;
transition: background 0.2s, color 0.2s;
}
#mw-panel .portal .body li a:hover {
background: #2563eb;
color: #fff;
}
/* ===== Navigation Tabs ===== */
.vector-menu-tabs li a {
color: #1e3a8a !important;
padding: 6px 12px;
border-radius: 8px;
transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}
.vector-menu-tabs li a:hover {
background: #2563eb;
color: #fff !important;
}
/* ===== Footer ===== */
#footer {
background: #f0f4ff;
border-top: 1px solid #dbeafe;
padding: 1em;
text-align: center;
color: #334155;
transition: background 0.2s;
}
#footer:hover {
background: #e0e7ff;
}
/* ===== Infobox & Tables ===== */
.infobox,
.wikitable {
border: 1px solid #cbd5e1;
border-radius: 10px;
margin: 1em auto;
overflow: hidden;
transition: box-shadow 0.2s ease-in-out;
}
.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 ===== */
#p-search input {
border: 1px solid #93c5fd;
border-radius: 8px;
padding: 6px 10px;
transition: border 0.2s, box-shadow 0.2s;
}
#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: #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);
}