MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
* CSS is separated by component (which is why media queries are not joined) | * CSS is separated by component (which is why media queries are not joined) | ||
*/ | */ | ||
/* for background of specific page | |||
/* | .page-Main_Page { | ||
background-image: url('YOUR_IMAGE_URL'); | |||
background-size: cover; /* Optional: adjust as needed */ | |||
background-repeat: no-repeat; /* Optional: adjust as needed */ | |||
} | |||
/* | |||
/ | |||
} | |||
*/ | */ |
Latest revision as of 19:30, 17 October 2025
/* CSS placed here will be applied to all skins */ /* Copied from https://en.wikipedia.org/w/index.php?action=edit&title=MediaWiki:Common.css */ /* * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS; * SEE [[MediaWiki talk:Common.css/to do]] * CSS is separated by component (which is why media queries are not joined) */ /* for background of specific page .page-Main_Page { background-image: url('YOUR_IMAGE_URL'); background-size: cover; /* Optional: adjust as needed */ background-repeat: no-repeat; /* Optional: adjust as needed */ } */