Jump to content

MediaWiki:Vector.css: Difference between revisions

From Rejoice in Saint Joan of Arc
Created page with "All CSS here will be loaded for users of the Vector skin: reduce standard page width: body:not(.vector-feature-wide-container-enabled) #content { max-width: 900px; Adjust as needed: margin: auto; }"
 
No edit summary
Line 2: Line 2:


/* reduce standard page width */
/* reduce standard page width */
body:not(.vector-feature-wide-container-enabled) #content {
body:not(.vector-feature-wide-container-enabled) .mw-content-container {
     max-width: 900px; /* Adjust as needed */
     max-width: 900px;
     margin: auto;
     margin: auto;
}
}

Revision as of 20:05, 1 February 2025

/* All CSS here will be loaded for users of the Vector skin */

/* reduce standard page width */
body:not(.vector-feature-wide-container-enabled) .mw-content-container {
    max-width: 900px;
    margin: auto;
}