MediaWiki:Common.css: Difference between revisions

From enIKSwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
.mw-editsection-like {
.mw-editsection-like {
   display: none !important;
   display: none !important;
}
/* Hide edit section links */
.mw-editsection,
.mw-editsection-like {
display: none !important;
}
}


Line 18: Line 24:
}
}


/* Keep page wide but readable */
/* Hide left sidebar by default */
.mw-page-container,
.vector-column-start {
.mw-content-container,
display: none !important;
.vector-page,
.vector-column-end {
max-width: none !important;
}
}


/* Nice readable content width */
/* Show hamburger toggle button */
.mw-parser-output,
.vector-main-menu-landmark,
#mw-content-text {
.vector-main-menu-action {
max-width: 1100px;
display: flex !important;
margin: 0 auto;
visibility: visible !important;
}
}


/* Ensure logo is visible */
/* Keep logo visible */
.mw-logo {
.mw-logo {
display: flex !important;
display: flex !important;
Line 39: Line 42:
}
}


/* Ensure hamburger menu is visible */
/* Make content wider */
.vector-main-menu-landmark {
.mw-content-container,
display: block !important;
.vector-page,
.vector-column-end {
max-width: none !important;
}
}


/* Slightly cleaner header spacing */
/* Limit reading width */
.vector-page-toolbar,
#mw-content-text {
.vector-page-titlebar {
max-width: 1100px;
padding-left: 0 !important;
margin: 0 auto;
}
}

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

/* Hide breadcrumbs */
#contentSub,
#siteSub {
	display: none !important;
}

/* Hide left sidebar by default */
.vector-column-start {
	display: none !important;
}

/* Show hamburger toggle button */
.vector-main-menu-landmark,
.vector-main-menu-action {
	display: flex !important;
	visibility: visible !important;
}

/* Keep logo visible */
.mw-logo {
	display: flex !important;
	align-items: center !important;
}

/* Make content wider */
.mw-content-container,
.vector-page,
.vector-column-end {
	max-width: none !important;
}

/* Limit reading width */
#mw-content-text {
	max-width: 1100px;
	margin: 0 auto;
}