মিডিয়াউইকি:Common.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য
mh>Md Mobashir Hossain সম্পাদনা সারাংশ নেই |
mh>Md Mobashir Hossain সম্পাদনা সারাংশ নেই |
||
| ১ নং লাইন: | ১ নং লাইন: | ||
/* | /* ===== Base Setup ===== */ | ||
body { | body { | ||
background: #f0f4ff; /* হালকা নীল ব্যাকগ্রাউন্ড */ | background: #f0f4ff; /* হালকা নীল ব্যাকগ্রাউন্ড */ | ||
color: #1e293b; | color: #1e293b; | ||
font-family: "Segoe UI", "Noto Sans Bengali" | font-family: "Segoe UI", "Noto Sans Bengali", sans-serif; | ||
line-height: 1.6; | line-height: 1.6; | ||
margin: 0; | margin: 0; | ||
transition: background 0.3s ease-in-out; | |||
} | } | ||
/* | /* ===== Main Content Box ===== */ | ||
#content, | #content, | ||
.mw-body { | .mw-body { | ||
| ১৬ নং লাইন: | ১৭ নং লাইন: | ||
padding: 1.2em; | padding: 1.2em; | ||
margin: 1em auto; | margin: 1em auto; | ||
box-shadow: 0 4px 12px rgba(0,0,0,0. | 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 { | h1, h2, h3, h4, h5 { | ||
color: #1e3a8a; | color: #1e3a8a; | ||
font-weight: 600; | font-weight: 600; | ||
transition: color 0.2s ease-in-out; | |||
} | |||
h1:hover, h2:hover { | |||
color: #2563eb; | |||
} | } | ||
/* | /* ===== Links ===== */ | ||
a { | a { | ||
color: #2563eb; | color: #2563eb; | ||
text-decoration: none; | text-decoration: none; | ||
transition: color 0.2s ease-in-out; | transition: color 0.2s ease-in-out, background 0.2s ease-in-out; | ||
} | } | ||
a:visited { | a:visited { | ||
| ৩৬ নং লাইন: | ৪৫ নং লাইন: | ||
} | } | ||
a:hover { | a:hover { | ||
color: #fff; | color: #fff; | ||
background: #2563eb; | background: #2563eb; | ||
border-radius: 4px; | |||
padding: 2px 4px; | |||
border-radius: | |||
padding: | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
/* | /* ===== Sidebar ===== */ | ||
#mw-panel { | #mw-panel { | ||
background: #f8faff; | background: #f8faff; | ||
| ১৯০ নং লাইন: | ৬২ নং লাইন: | ||
border-bottom: 1px solid #dbeafe; | border-bottom: 1px solid #dbeafe; | ||
padding-bottom: 0.3em; | padding-bottom: 0.3em; | ||
} | } | ||
#mw-panel .portal .body li a { | #mw-panel .portal .body li a { | ||
color: #1e40af; | color: #1e40af; | ||
padding: | padding: 5px 8px; | ||
display: block; | display: block; | ||
border-radius: 6px; | 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: # | background: #2563eb; | ||
color: #fff; | |||
} | } | ||
/* ===== | /* ===== Navigation Tabs ===== */ | ||
.vector-menu-tabs li a { | .vector-menu-tabs li a { | ||
color: #1e3a8a !important; | color: #1e3a8a !important; | ||
padding: 6px | padding: 6px 12px; | ||
border-radius: | border-radius: 8px; | ||
transition: background 0.2s ease-in-out, color 0.2s ease-in-out; | |||
} | } | ||
.vector-menu-tabs li a:hover { | .vector-menu-tabs li a:hover { | ||
background: # | background: #2563eb; | ||
color: #fff !important; | |||
} | } | ||
/* | /* ===== Footer ===== */ | ||
#footer { | #footer { | ||
background: #f0f4ff; | background: #f0f4ff; | ||
| ২২১ নং লাইন: | ৯৪ নং লাইন: | ||
text-align: center; | text-align: center; | ||
color: #334155; | color: #334155; | ||
transition: background 0.2s; | |||
} | |||
#footer:hover { | |||
background: #e0e7ff; | |||
} | } | ||
/* | /* ===== Infobox & Tables ===== */ | ||
.infobox, | .infobox, | ||
.wikitable { | .wikitable { | ||
border: 1px solid #cbd5e1; | border: 1px solid #cbd5e1; | ||
border-radius: 10px; | border-radius: 10px; | ||
margin: 1em auto; | |||
overflow: hidden; | 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, | .infobox th, | ||
| ২৪২ নং লাইন: | ১২৪ নং লাইন: | ||
background: #f8faff; | background: #f8faff; | ||
padding: 0.6em; | padding: 0.6em; | ||
transition: background 0.2s; | |||
} | } | ||
.infobox tr: | .infobox tr:hover td, | ||
.wikitable tr: | .wikitable tr:hover td { | ||
background: # | background: #dbeafe; | ||
} | } | ||
/* | /* ===== Search Box ===== */ | ||
#p-search input { | #p-search input { | ||
border: 1px solid #93c5fd; | border: 1px solid #93c5fd; | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: | padding: 6px 10px; | ||
transition: border 0.2s, box-shadow 0.2s; | |||
} | } | ||
#p-search input:focus { | #p-search input:focus { | ||
outline: none; | outline: none; | ||
border-color: #2563eb; | border-color: #2563eb; | ||
box-shadow: 0 0 0 | box-shadow: 0 0 0 3px rgba(37,99,235,0.3); | ||
} | } | ||
/* | /* ===== Buttons ===== */ | ||
.mw-ui-button, | .mw-ui-button, | ||
button, | button, | ||
| ২৬৯ নং লাইন: | ১৫৩ নং লাইন: | ||
border: none; | border: none; | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: | padding: 7px 14px; | ||
cursor: pointer; | cursor: pointer; | ||
transition: background 0.2s ease-in-out; | transition: background 0.2s ease-in-out, transform 0.1s; | ||
} | } | ||
.mw-ui-button:hover, | .mw-ui-button:hover, | ||
| ২৭৮ নং লাইন: | ১৬২ নং লাইন: | ||
input[type="button"]:hover { | input[type="button"]:hover { | ||
background: #1e40af; | background: #1e40af; | ||
transform: translateY(-1px); | |||
} | } | ||