MediaWiki:Common.css: Difference between revisions

From enIKSwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
}
}


/* Collapse sidebar column */
/* 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 {
    width: 0 !important;
display: none !important;
    min-width: 0 !important;
}
    max-width: 0 !important;
 
    padding: 0 !important;
/* Remove Vector gutter spacing */
    margin: 0 !important;
:root {
    overflow: hidden !important;
--vector-gutter-width: 0px !important;
}
}


/* Remove the left column from page layout */
/* Remove left column layout */
.mw-page-container {
.mw-page-container {
    grid-template-columns: 0 minmax(0, 1fr) !important;
grid-template-columns: 0 minmax(0, 1fr) !important;
padding-left: 0 !important;
margin-left: 0 !important;
}
}


/* Stretch article content full width */
/* 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;
max-width: 100% !important;
    width: 100% !important;
width: 100% !important;
    margin-left: 0 !important;
margin-left: 0 !important;
    padding-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;
}