MediaWiki:Common.css: Difference between revisions

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


/* Hide edit links */
/* Hide edit section links */
.mw-editsection,
.mw-editsection,
.mw-editsection-like {
.mw-editsection-like {
Line 12: Line 12:
}
}


/* Hide entire left sidebar container */
/* Hide sidebar */
.vector-column-start,
.vector-column-start,
.vector-sidebar-container,
.vector-sidebar-container,
#mw-panel {
#mw-panel {
display: none !important;
display: none !important;
width: 0 !important;
}
min-width: 0 !important;
 
max-width: 0 !important;
/* Make main page full width */
.mw-page-container {
max-width: 100% !important;
width: 100% !important;
padding-left: 0 !important;
padding-right: 0 !important;
margin: 0 !important;
margin: 0 !important;
padding: 0 !important;
grid-template-columns: 0 1fr !important;
overflow: hidden !important;
}
}


/* Remove sidebar column from layout */
/* Remove centered content width */
.mw-page-container {
.mw-content-container {
display: grid !important;
max-width: 100% !important;
grid-template-columns: 0 minmax(0, 1fr) !important;
width: 100% !important;
column-gap: 0 !important;
margin: 0 !important;
padding-left: 20px !important;
padding-right: 20px !important;
}
}


/* Let content take full width */
/* Expand article */
.mw-content-container,
.vector-page,
.vector-page,
.vector-column-end {
.vector-column-end {
max-width: 100% !important;
width: 100% !important;
width: 100% !important;
max-width: none !important;
margin-left: 0 !important;
margin-left: 0 !important;
padding-left: 0 !important;
}
}

Revision as of 11:22, 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 edit section links */
.mw-editsection,
.mw-editsection-like {
	display: none !important;
}

/* Hide sidebar */
.vector-column-start,
.vector-sidebar-container,
#mw-panel {
	display: none !important;
}

/* Make main page full width */
.mw-page-container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
	grid-template-columns: 0 1fr !important;
}

/* Remove centered content width */
.mw-content-container {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}

/* Expand article */
.vector-page,
.vector-column-end {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
}