মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
mh>Md Mobashir Hossain "→এখানে সন্নিবেশিত সিএসএস সব আবরণে প্রয়োগ করা হবে: →===== Global Background & Text =====: body { background-color: #f0f4ff; →হালকা নীল ব্যাকগ্রাউন্ড: color: #202122; →মূল টেক্সট রঙ: font-family: "Segoe UI", "Noto Sans Bengali", sans-serif; } /* ===== Page Conten..." দিয়ে পাতা তৈরি |
mh>Md Mobashir Hossain সম্পাদনা সারাংশ নেই |
||
| ১ নং লাইন: | ১ নং লাইন: | ||
/* ====== Base Setup ====== */ | |||
/* ===== | |||
body { | body { | ||
background | background: #f0f4ff; /* হালকা নীল ব্যাকগ্রাউন্ড */ | ||
color: # | color: #1e293b; /* ডার্ক টেক্সট */ | ||
font-family: "Segoe UI", "Noto Sans Bengali", sans-serif; | font-family: "Segoe UI", "Noto Sans Bengali", Arial, sans-serif; | ||
line-height: 1.6; | |||
margin: 0; | |||
} | } | ||
/* ===== | /* ====== Main Content Box ====== */ | ||
#content, | #content, | ||
.mw-body { | .mw-body { | ||
background | background: #ffffff; | ||
border: 1px solid # | border: 1px solid #dbeafe; | ||
border-radius: | border-radius: 12px; | ||
padding: 1em; | padding: 1.2em; | ||
box-shadow: 0 | margin: 1em auto; | ||
box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |||
} | } | ||
/* ===== Headings ===== */ | /* ====== Headings ====== */ | ||
h1, h2, h3, h4, h5 { | h1, h2, h3, h4, h5 { | ||
color: #1e3a8a; | color: #1e3a8a; | ||
font-weight: 600; | font-weight: 600; | ||
letter-spacing: -0.3px; | |||
} | } | ||
/* ===== Links ===== */ | /* ====== Links ====== */ | ||
a { | a { | ||
color: #2563eb; | color: #2563eb; | ||
text-decoration: none; | text-decoration: none; | ||
transition: color 0.2s ease-in-out; | |||
} | } | ||
a:visited { | a:visited { | ||
| ৩৬ নং লাইন: | ৪০ নং লাইন: | ||
} | } | ||
/* ===== | /* ====== 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, | #p-personal li a, | ||
.vector-menu-tabs li a { | |||
color: #1e3a8a !important; | color: #1e3a8a !important; | ||
padding: 6px 10px; | |||
border-radius: 6px; | |||
} | } | ||
#p-personal li a:hover, | #p-personal li a:hover, | ||
.vector-menu-tabs li a:hover { | |||
background: #e0e7ff; | background: #e0e7ff; | ||
} | } | ||
/* ===== Sidebar ===== */ | /* ====== 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 { | #mw-panel { | ||
background | background: #f8faff; | ||
border-right: 1px solid # | border-right: 1px solid #dbeafe; | ||
padding-top: 0.5em; | |||
} | } | ||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
color: #1e3a8a; | 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 ====== */ | ||
#footer { | #footer { | ||
background | background: #f0f4ff; | ||
border-top: 1px solid # | border-top: 1px solid #dbeafe; | ||
padding: 1em; | padding: 1em; | ||
text-align: center; | |||
color: #334155; | color: #334155; | ||
} | } | ||
/* ===== Infobox | /* ====== Infobox & Tables ====== */ | ||
.infobox, | .infobox, | ||
.wikitable { | .wikitable { | ||
border: 1px solid # | border: 1px solid #cbd5e1; | ||
border-radius: 10px; | border-radius: 10px; | ||
overflow: hidden; | |||
margin: 1em auto; | |||
} | } | ||
.infobox th, | .infobox th, | ||
.wikitable th { | .wikitable th { | ||
background | background: #1e3a8a; | ||
color: #fff; | color: #fff; | ||
font-weight: 600; | font-weight: 600; | ||
padding: 0.6em; | |||
} | } | ||
.infobox td, | .infobox td, | ||
.wikitable td { | .wikitable td { | ||
background | background: #f8faff; | ||
padding: 0. | padding: 0.6em; | ||
} | } | ||
.infobox tr:nth-child(even) td, | .infobox tr:nth-child(even) td, | ||
.wikitable tr:nth-child(even) td { | .wikitable tr:nth-child(even) td { | ||
background-color: # | 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; | |||
} | } | ||