MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 64: Line 64:
/* Set max width and adjust background */
/* Set max width and adjust background */
.ns-3000 #bodyContent {
.ns-3000 #bodyContent {
     max-width: 800px; /* Adjust the value as needed */
     max-width: 850px; /* Adjust the value as needed */
     margin: 0 auto; /* Center the content */
     margin: 0 auto; /* Center the content */
}
/* it seems to make mobile lose padding on edges; so to override for small screens: */
@media screen and (max-width: 650px) {
    #Content {
        max-width: none; /* Remove the max-width constraint on small screens */
    }
}
}