Board Thread:General Discussion/@comment-44975735-20200513154155/@comment-44975735-20200616090442

I got more exciting stuff to show. More specificly, I would like to propose per-page backgrounds where desired and got around doing the code to support it.

It's really basic, just overrides part of the code that sets the standard wiki background but it only gets used if a page has a specific name. body.mediawiki.page-Nøkk {   background-image:url("https://www.waltdisneystudios.com/static/5adec909acee578bf5ec273cc526acc2/917e6/frozen-2_online-use_nokk-finalframe_seq250sh31.0204_revised_final-1-.jpg"); } I just used a random image for this example.

For better organisation, it might be better to use the "line" syntax that puts each entry on a single line and, in this case, improves readability. body.mediawiki.page-Nøkk       {background-image:url("https://www.waltdisneystudios.com/static/5adec909acee578bf5ec273cc526acc2/917e6/frozen-2_online-use_nokk-finalframe_seq250sh31.0204_revised_final-1-.jpg");} body.mediawiki.page-Arendelle  {background-image:url("https://www.waltdisneystudios.com/static/5adec909acee578bf5ec273cc526acc2/917e6/frozen-2_online-use_nokk-finalframe_seq250sh31.0204_revised_final-1-.jpg");}

Here's a little bit of useful code that will set height of any background image to be the same as the stock one (921 pixels), could be useful to prevent funky things from happening if the image size is not precisely what it should be. body.mediawiki {   background-size:auto 921px; }