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 section links */
/* 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;
  display: none !important;
}
}


/* Hide edit section links */
 
.mw-editsection,
 
.mw-editsection-like {
 
display: none !important;
/* Hide sidebar navigation menus, but keep logo */
#mw-panel .portal,
.vector-menu-portal {
    display: none !important;
}
}


/* Hide breadcrumbs */
/* Keep logo visible */
#contentSub,
#p-logo,
#siteSub {
.mw-logo {
display: none !important;
    display: block !important;
}
}


/* Hide left sidebar by default */
/* Expand content area */
.vector-column-start {
.vector-column-end,
display: none !important;
.vector-page {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
}


/* Show hamburger toggle button */
/* Layout */
.vector-main-menu-landmark,
.mw-page-container {
.vector-main-menu-action {
    grid-template-columns: auto minmax(0, 1fr) !important;
display: flex !important;
visibility: visible !important;
}
}


/* Keep logo visible */
 
.mw-logo {
/* Make content use the sidebar space */
display: flex !important;
.mw-page-container {
align-items: center !important;
    grid-template-columns: 1fr !important;
}
}


/* Make content wider */
/* Expand main content fully */
.mw-content-container,
.vector-page,
.vector-column-end {
.vector-column-end {
max-width: none !important;
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
}
}


/* Limit reading width */
/* Remove extra left spacing */
#mw-content-text {
.vector-page {
max-width: 1100px;
    margin-left: 0 !important;
margin: 0 auto;
    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;
}