মিডিয়াউইকি: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", Arial, sans-serif;
line-height: 1.6;
margin: 0;
}
/* ====== 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.05);
}
/* ====== Headings ====== */
h1, h2, h3, h4, h5 {
color: #1e3a8a;
font-weight: 600;
letter-spacing: -0.3px;
}
/* ====== Links ====== */
a {
color: #2563eb;
text-decoration: none;
transition: color 0.2s ease-in-out;
}
a:visited {
color: #1d4ed8;
}
a:hover {
color: #1e40af;
text-decoration: underline;
}
/* ====== 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;
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 ====== */
#p-personal li a,
.vector-menu-tabs li a {
color: #1e3a8a !important;
padding: 6px 10px;
border-radius: 6px;
}
#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 ====== */
.infobox,
.wikitable {
border: 1px solid #cbd5e1;
border-radius: 10px;
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 ====== */
.mw-ui-button,
button,
input[type="submit"],
input[type="button"] {
background: #2563eb;
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,
.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.05);
}
/* ====== Headings ====== */
h1, h2, h3, h4, h5 {
color: #1e3a8a;
font-weight: 600;
letter-spacing: -0.3px;
}
/* ====== Links ====== */
a {
color: #2563eb;
text-decoration: none;
transition: color 0.2s ease-in-out;
}
a:visited {
color: #1d4ed8;
}
a:hover {
color: #1e40af;
text-decoration: underline;
}
/* ====== 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;
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 ====== */
#p-personal li a,
.vector-menu-tabs li a {
color: #1e3a8a !important;
padding: 6px 10px;
border-radius: 6px;
}
#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 ====== */
.infobox,
.wikitable {
border: 1px solid #cbd5e1;
border-radius: 10px;
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 ====== */
.mw-ui-button,
button,
input[type="submit"],
input[type="button"] {
background: #2563eb;
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;
}