MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 44: | Line 44: | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
padding-left: 0 !important; | padding-left: 0 !important; | ||
} | |||
/* Remove sidebar column completely */ | |||
.vector-column-start { | |||
width: 0 !important; | |||
min-width: 0 !important; | |||
max-width: 0 !important; | |||
overflow: hidden !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | |||
/* Make the page a single full-width column */ | |||
.mw-page-container { | |||
grid-template-columns: 0 minmax(0, 1fr) !important; | |||
} | |||
/* Remove left gap around article */ | |||
.vector-page, | |||
.mw-content-container, | |||
.vector-column-end { | |||
margin-left: 0 !important; | |||
padding-left: 0 !important; | |||
max-width: none !important; | |||
width: 100% !important; | |||
} | } | ||
Revision as of 11:00, 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;
}
/* CSS placed here will be applied to all skins */
/* Hide "edit / edit source" beside headings */
.mw-editsection,
.mw-editsection-like {
display: none !important;
}
/* Hide sidebar navigation, keep logo visible */
#mw-panel .portal,
.vector-menu-portal {
display: none !important;
}
/* Keep logo visible */
#p-logo,
.mw-logo {
display: block !important;
}
/* Expand page into sidebar space */
.mw-page-container {
grid-template-columns: 1fr !important;
}
/* Expand content width */
.vector-column-end {
width: 100% !important;
max-width: none !important;
margin-left: 0 !important;
}
/* Remove left padding/gap */
.vector-page,
.mw-content-container {
margin-left: 0 !important;
padding-left: 0 !important;
}
/* Remove sidebar column completely */
.vector-column-start {
width: 0 !important;
min-width: 0 !important;
max-width: 0 !important;
overflow: hidden !important;
padding: 0 !important;
margin: 0 !important;
}
/* Make the page a single full-width column */
.mw-page-container {
grid-template-columns: 0 minmax(0, 1fr) !important;
}
/* Remove left gap around article */
.vector-page,
.mw-content-container,
.vector-column-end {
margin-left: 0 !important;
padding-left: 0 !important;
max-width: none !important;
width: 100% !important;
}