MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
} | } | ||
/* Hide edit | /* CSS placed here will be applied to all skins */ | ||
/* Hide "edit / edit source" next to headings everywhere */ | |||
.mw-editsection, | .mw-editsection, | ||
.mw-editsection-like { | .mw-editsection-like { | ||
display: none !important; | |||
} | } | ||
/* Hide | |||
. | |||
/* Hide sidebar navigation menus, but keep logo */ | |||
#mw-panel .portal, | |||
.vector-menu-portal { | |||
display: none !important; | |||
} | } | ||
/* | /* Keep logo visible */ | ||
# | #p-logo, | ||
.mw-logo { | |||
display: block !important; | |||
} | } | ||
/* | /* Expand content area */ | ||
.vector-column- | .vector-column-end, | ||
.vector-page { | |||
margin-left: 0 !important; | |||
padding-left: 0 !important; | |||
} | } | ||
/* | /* Layout */ | ||
. | .mw-page-container { | ||
grid-template-columns: auto minmax(0, 1fr) !important; | |||
} | } | ||
/* | |||
.mw- | /* Make content use the sidebar space */ | ||
.mw-page-container { | |||
grid-template-columns: 1fr !important; | |||
} | } | ||
/* | /* Expand main content fully */ | ||
.vector-column-end { | .vector-column-end { | ||
max-width: none !important; | |||
width: 100% !important; | |||
margin-left: 0 !important; | |||
} | } | ||
/* | /* Remove extra left spacing */ | ||
.vector-page { | |||
margin-left: 0 !important; | |||
padding-left: 0 !important; | |||
} | } | ||
Revision as of 12:39, 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" next to headings everywhere */
.mw-editsection,
.mw-editsection-like {
display: none !important;
}
/* Hide sidebar navigation menus, but keep logo */
#mw-panel .portal,
.vector-menu-portal {
display: none !important;
}
/* Keep logo visible */
#p-logo,
.mw-logo {
display: block !important;
}
/* Expand content area */
.vector-column-end,
.vector-page {
margin-left: 0 !important;
padding-left: 0 !important;
}
/* Layout */
.mw-page-container {
grid-template-columns: auto minmax(0, 1fr) !important;
}
/* Make content use the sidebar space */
.mw-page-container {
grid-template-columns: 1fr !important;
}
/* Expand main content fully */
.vector-column-end {
max-width: none !important;
width: 100% !important;
margin-left: 0 !important;
}
/* Remove extra left spacing */
.vector-page {
margin-left: 0 !important;
padding-left: 0 !important;
}