MediaWiki:Common.css: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
/* | |||
/* Set max width and adjust background */ | /* Set max width and adjust background */ | ||
.ns-3000 #bodyContent { | .ns-3000 #bodyContent { | ||
Line 74: | Line 75: | ||
padding: 0 10px; /* Add padding to ensure text doesn't touch the screen edges */ | padding: 0 10px; /* Add padding to ensure text doesn't touch the screen edges */ | ||
margin: 0 10px; /* Optional: Add margin to control the distance from the screen edges */ | margin: 0 10px; /* Optional: Add margin to control the distance from the screen edges */ | ||
} | |||
} | |||
*/ | |||
# instead applying to larger screesn only | |||
/* Apply max-width only for screens larger than 600px */ | |||
@media screen and (min-width: 601px) { | |||
.ns-3000 #bodycontent { | |||
max-width: 850px; /* Adjust the value as needed */ | |||
margin: 0 auto; /* Center the content */ | |||
font-size: 105%; | |||
} | } | ||
} | } |