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 applyiong to only larger screesn (min width)
/* for readability of blog posts, setting max width on blog namespace; however, it losess side margins on small screen, so applyiong to only larger screesn (min width)
/* Apply max-width only for screens larger than 600px */
/* Apply max-width only for screens larger than 600px */
@media screen and (min-width: 601px) {
@media screen and (min-width: 601px) {
    .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 */
     margin: 0 auto; /* Center the content */