MediaWiki:Common.css

From Marupedia
Revision as of 14:05, 12 January 2026 by BudhaRam Patel (talk | contribs)
Jump to navigation Jump to search

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 */
.page-Home #mw-panel {
  display: none;
}
/* =========================
   CLEAN HOME PAGE (Marupedia)
   ========================= */

/* Hide page tabs (Read / Edit / Edit source / History) on Home */
.page-Home #p-views,
.page-Home #ca-edit,
.page-Home #ca-editsource,
.page-Home #ca-history {
    display: none !important;
}

/* Hide user menu (Login, Username, Preferences) */
.page-Home #p-personal {
    display: none !important;
}

/* Hide sidebar completely on Home */
.page-Home #mw-panel {
    display: none !important;
}

/* Make content full width */
.page-Home #content {
    margin-left: 0 !important;
}

/* Hide footer links */
.page-Home #footer-places,
.page-Home #footer-icons {
    display: none !important;
}

/* Remove page title "Home" */
.page-Home h1.firstHeading {
    display: none;
}

/* Remove category links at bottom */
.page-Home #catlinks {
    display: none;
}
/* ===============================
   ULTRA CLEAN HOME PAGE (Marupedia)
   =============================== */

/* Hide page tabs bar completely */
.page-Home #p-views,
.page-Home #ca-nstab-main,
.page-Home #ca-talk,
.page-Home #ca-more,
.page-Home .vector-page-toolbar {
    display: none !important;
}

/* Hide top search box + icon */
.page-Home #p-search,
.page-Home .vector-search-box {
    display: none !important;
}

/* Hide personal tools (login, username, prefs) */
.page-Home #p-personal {
    display: none !important;
}

/* Hide site header strip spacing */
.page-Home .vector-header-container {
    display: none !important;
}

/* Hide sidebar completely */
.page-Home #mw-panel {
    display: none !important;
}

/* Full width content */
.page-Home #content {
    margin-left: 0 !important;
}

/* Remove page title "Home" */
.page-Home h1.firstHeading {
    display: none !important;
}

/* Remove footer links */
.page-Home #footer-places,
.page-Home #footer-icons {
    display: none !important;
}

/* Remove categories */
.page-Home #catlinks {
    display: none !important;
}

/* ===============================
   REMOVE BOTTOM META FROM HOME
   =============================== */

/* Hide last edited text */
.page-Home #footer-info-lastmod {
    display: none !important;
}

/* Hide copyright/license text */
.page-Home #footer-info-copyright {
    display: none !important;
}

/* Hide entire footer info area */
.page-Home #footer-info {
    display: none !important;
}

/* Remove bottom blue border */
.page-Home #footer {
    border-top: none !important;
}

/* Remove page info links if any */
.page-Home .printfooter {
    display: none !important;
}


/* =========================================
   REMOVE TOP BLANK SPACE ON HOME PAGE ONLY
   ========================================= */

/* Hide page title bar (Home heading area) */
.page-Home #firstHeading {
    display: none !important;
}

/* Remove top padding added by MediaWiki */
.page-Home #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove content action tabs space */
.page-Home #contentSub,
.page-Home #siteSub {
    display: none !important;
}

/* Remove page tabs (Read, Edit, etc.) spacing */
.page-Home #p-cactions,
.page-Home #p-views {
    display: none !important;
}

/* Remove header empty area */
.page-Home #mw-head {
    display: none !important;
}

/* Force body top alignment */
.page-Home #mw-page-base,
.page-Home #mw-panel {
    margin-top: 0 !important;
}

/* Extra safety: remove any top blank gap */
.page-Home .mw-body-content {
    padding-top: 0 !important;
}