MediaWiki:Common.css: Difference between revisions
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 | /* 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: | } | ||
/* 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; | ||
grid-template-columns: 0 1fr !important; | |||
} | } | ||
/* Remove | /* Remove centered content width */ | ||
.mw- | .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-page, | ||
.vector-column-end { | .vector-column-end { | ||
max-width: 100% !important; | |||
width: 100% !important; | width: 100% !important; | ||
margin-left: 0 !important; | margin-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;
}