MediaWiki:Common.css
From vehicle Rental wiki demo
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* সাইডবার পুরোপুরি হাইড করা */
#site-navigation {
display: none !important;
}
/* কন্টেন্ট এরিয়াকে বাম দিক থেকে সরিয়ে আনা এবং ফুল উইডথ করা */
#mw-wrapper {
padding-left: 0 !important;
}
#content {
margin-left: 0 !important;
width: 100% !important;
max-width: 100% !important;
}
/* যদি মেনু বারটি এখনো জায়গা দখল করে থাকে */
.ms-Fabric {
margin-left: 0 !important;
}
/* Hide sidebar (if not already) */
#mw-navigation {
display: none;
}
/* Full width main container */
#content,
.mw-body,
#bodyContent {
max-width: 100% !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
/* Remove Fluent container limit */
.fluent-container {
max-width: 100% !important;
width: 100% !important;
}
/* Main page only (optional safer way) */
.page-Main_Page #content,
.page-Main_Page .mw-body,
.page-Main_Page #bodyContent {
max-width: 100% !important;
}
/* মেইন পেজের ট্যাবগুলো (Read, Edit, View History) হাইড করার জন্য */
#p-views, #p-cactions, .vector-menu-tabs {
display: none !important;
}
/* পেজের টাইটেল (Main Page লেখাটি) হাইড করার জন্য */
.firstHeading {
display: none !important;
}
/* নিচের ডিসকাশন বা টক বাটন হাইড করার জন্য */
#ca-talk {
display: none !important;
}
/* এডিট বাটনগুলো পুরোপুরি রিমুভ করতে */
.mw-editsection {
display: none !important;
}
/* ১. উপরের টাইটেল এবং সাদা বারটি পুরোপুরি হাইড করার জন্য */
#content h1.firstHeading,
#firstHeading,
.mw-indicators,
#p-cactions,
#ca-delete,
#ca-move,
#ca-protect,
#ca-unwatch {
display: none !important;
}
/* ২. কন্টেন্ট এরিয়ার উপরের বাড়তি বর্ডার বা মার্জিন সরাতে */
#content {
border: none !important;
margin-top: 0 !important;
padding-top: 0 !important;
}
/* ৩. যদি বারের পেছনের সাদা অংশটি এখনো দেখা যায় */
.vector-body {
margin-top: -20px !important;
}
/* ১. মেইন পেজের টাইটেল (Main Page লেখাটি) পুরোপুরি মুছে ফেলার জন্য */
.page-Main_Page #firstHeading,
.page-Main_Page #section_0,
.page-Main_Page .mw-first-heading {
display: none !important;
}
/* ২. টাইটেলের নিচের ধূসর দাগ বা বর্ডার সরানোর জন্য */
.page-Main_Page #content {
border: none !important;
}
/* ৩. উপরের বাড়তি ফাঁকা জায়গা (White space) কমানোর জন্য */
.page-Main_Page #mw-content-text {
margin-top: -40px !important;
}
/* Hide page title / breadcrumb bar */
.page-Main_Page .firstHeading,
.page-Main_Page #firstHeading,
.page-Main_Page .mw-page-title-main,
.page-Main_Page .mw-body-header {
display: none !important;
}
.page-Main_Page .page-header,
.page-Main_Page .contentHeader {
display: none !important;
}
.page-Main_Page .mw-body {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* Hide Main Page title bar (Fluent skin নিশ্চিত fix) */
body.page-Main_Page #firstHeading,
body.page-Main_Page .firstHeading,
body.page-Main_Page .mw-page-title-main,
body.page-Main_Page .mw-body-header,
body.page-Main_Page .page-header,
body.page-Main_Page .contentHeader,
body.page-Main_Page .mw-indicators {
display: none !important;
}
/* Remove top white container */
body.page-Main_Page .mw-body {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* Force remove extra header space */
body.page-Main_Page .mw-content-container {
margin-top: 0 !important;
padding-top: 0 !important;
}
body.page-Main_Page div[role="navigation"],
body.page-Main_Page .mw-body-header-container {
display: none !important;
}
/* Hide footer بالكامل */
#footer,
.mw-footer,
footer,
#colophon {
display: none !important;
}
/* Remove bottom gap completely */
body::after {
display: none !important;
}
.mw-page-container {
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}