MediaWiki:Common.css: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 64: | Line 64: | ||
/* for readability of blog posts, setting max width on blog namespace; however, it losess side margins on small screen, so needs fix */ | /* for readability of blog posts, setting max width on blog namespace; however, it losess side margins on small screen, so needs fix */ | ||
/* note: using | |||
margin: 0 auto; /* Center the content */ | |||
centers the content on wide mode but forces text on small screens to the edge of left margin | |||
.ns-3000 #bodyContent { | .ns-3000 #bodyContent { | ||
max-width: 850px; /* Adjust the value as needed */ | max-width: 850px; /* Adjust the value as needed */ | ||
margin: 0 auto; /* Center the content */ | |||
} | } |