MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
/* Hide breadcrumbs or page tools */ | /* Hide breadcrumbs or page tools */ | ||
#siteSub, #contentSub { | #siteSub, #contentSub { | ||
display: none !important; | |||
} | |||
/* ===== ADDITIONAL HIDE FOR MODERN SKINS ===== */ | |||
/* Sidebar (all panels) */ | |||
#mw-panel, | |||
.vector-menu-content, | |||
.portal, | |||
#p-navigation, | |||
#p-interaction, | |||
#p-tb, | |||
#p-cactions, | |||
#p-personal, | |||
#p-lang { | |||
display: none !important; | |||
} | |||
/* Footer */ | |||
#footer, .mw-footer { | |||
display: none !important; | |||
} | |||
/* Breadcrumbs / page tools */ | |||
#siteSub, | |||
#contentSub, | |||
.breadcrumb, | |||
.mw-indicators { | |||
display: none !important; | |||
} | |||
/* Page header / tabs / action menu */ | |||
#ca-view, #ca-edit, .vectorMenu, .mw-portlet { | |||
display: none !important; | |||
} | |||
/* Search box */ | |||
#search, #searchInput, .vector-search-box { | |||
display: none !important; | |||
} | |||
/* Additional skin-specific containers */ | |||
#p-views, #p-cactions, .mw-ui-portlet, .vector-menu { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 14:26, 23 January 2026
/* CSS placed here will be applied to all skins */
#footer { display: none; }
#mw-panel .body { visibility: hidden; }
/* Hide the sidebar completely */
#mw-panel {
display: none !important;
}
/* Hide the top toolbox / actions menu */
#p-tb, #p-cactions {
display: none !important;
}
/* Hide the footer */
#footer {
display: none !important;
}
/* Optional: hide languages box */
#p-lang {
display: none !important;
}
/* Hide personal toolbar / search box */
#p-personal, #search {
display: none !important;
}
/* Hide breadcrumbs or page tools */
#siteSub, #contentSub {
display: none !important;
}
/* ===== ADDITIONAL HIDE FOR MODERN SKINS ===== */
/* Sidebar (all panels) */
#mw-panel,
.vector-menu-content,
.portal,
#p-navigation,
#p-interaction,
#p-tb,
#p-cactions,
#p-personal,
#p-lang {
display: none !important;
}
/* Footer */
#footer, .mw-footer {
display: none !important;
}
/* Breadcrumbs / page tools */
#siteSub,
#contentSub,
.breadcrumb,
.mw-indicators {
display: none !important;
}
/* Page header / tabs / action menu */
#ca-view, #ca-edit, .vectorMenu, .mw-portlet {
display: none !important;
}
/* Search box */
#search, #searchInput, .vector-search-box {
display: none !important;
}
/* Additional skin-specific containers */
#p-views, #p-cactions, .mw-ui-portlet, .vector-menu {
display: none !important;
}