I have a page called "Template:DaysUnionStyle.css" with a bit of CSS code in it that is added to another page via {{#css:Template:DaysUnionStyle.css}} that gives the page a style different from other pages on the wiki, however, all code in the screenshot works, except for when "background-image" is added below "body", and I am not sure why this line of code does not work.
How would I fix this?
Page:
https://mythcommunity.miraheze.org/wiki/Template:DaysUnionStyle.css
Page that the template is used in:
https://mythcommunity.miraheze.org/wiki/Great_Day
@media (min-width: 1340px) {
body {
background-image: url(https://static.wikitide.net/mythcommunitywiki/2/22/DaysUnionStyleBackground.png);
}
#mw-content {
border: 3px solid #49ba6d;
box-shadow: 0px 0px 10px 5px #49ba6d;
}
#mw-header-container {
outline: #487e65 solid 5px;
}
}