MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
} | } | ||
/* Collapse sidebar | /* Hide edit section links */ | ||
.mw-editsection, | |||
.mw-editsection-like { | |||
display: none !important; | |||
} | |||
/* Hide sidebar menus */ | |||
.vector-menu-portal, | |||
#mw-panel .portal { | |||
display: none !important; | |||
} | |||
/* Collapse left sidebar completely */ | |||
.vector-column-start { | .vector-column-start { | ||
display: none !important; | |||
} | |||
/* Remove Vector gutter spacing */ | |||
:root { | |||
--vector-gutter-width: 0px !important; | |||
} | } | ||
/* Remove | /* Remove left column layout */ | ||
.mw-page-container { | .mw-page-container { | ||
grid-template-columns: 0 minmax(0, 1fr) !important; | |||
padding-left: 0 !important; | |||
margin-left: 0 !important; | |||
} | } | ||
/* Stretch | /* Stretch content to full width */ | ||
.mw-content-container, | .mw-content-container, | ||
.vector-page, | .vector-page, | ||
.vector-column-end { | .vector-column-end { | ||
max-width: 100% !important; | |||
width: 100% !important; | |||
margin-left: 0 !important; | |||
padding-left: 0 !important; | |||
} | } | ||
Revision as of 11:09, 1 June 2026
/* CSS placed here will be applied to all skins */
/* Hide "edit / edit source" next to headings everywhere */
.mw-editsection,
.mw-editsection-like {
display: none !important;
}
/* Hide left sidebar but keep logo */
.vector-column-start .vector-menu-portal,
#mw-panel .portal {
display: none !important;
}
/* Hide edit section links */
.mw-editsection,
.mw-editsection-like {
display: none !important;
}
/* Hide sidebar menus */
.vector-menu-portal,
#mw-panel .portal {
display: none !important;
}
/* Collapse left sidebar completely */
.vector-column-start {
display: none !important;
}
/* Remove Vector gutter spacing */
:root {
--vector-gutter-width: 0px !important;
}
/* Remove left column layout */
.mw-page-container {
grid-template-columns: 0 minmax(0, 1fr) !important;
padding-left: 0 !important;
margin-left: 0 !important;
}
/* Stretch content to full width */
.mw-content-container,
.vector-page,
.vector-column-end {
max-width: 100% !important;
width: 100% !important;
margin-left: 0 !important;
padding-left: 0 !important;
}