Skip to main content
Pnod666 u/Pnod666 avatar

Pnod666

u/Pnod666

Feed options
Hot
New
Top
View
Card
Compact

Works like a charm! Thanks king!


Sorry, didn't see this reply- I got it working with that! Thanks for the input!


UPDATE: Figured it out! just had to remove the !important from the code for all pages. This is what I ended up with.

body.skin-citizen {
  background: url('https://trtfwiki.dev/images/3/39/MediaWikiBG-General.png') no-repeat center center fixed;
  background-size: cover !important;
  background-attachment: fixed !important;
}

.page-The_Return_to_Freddy_s_Classic {
  background: url('https://i.imgur.com/3SgAsdm.png') no-repeat center center fixed !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

I might optimize it a bit more, but this is working the way I want it to. Thanks for the help, man!


So, here's the thing... I was able to specify a different image for one specific page. BUT, it gets overridden by the one for all pages. If I turn off the one for all pages, then the one for the specific page loads in just fine. But if I have them both on, then they clash, and it seems the one for all pages takes priority. So really it's more about how I could tell it to prioritize the specific one instead of the all pages one.

Comment Image

CSS Noob here; how do I give individual pages specific image backgrounds?
Image
r/mediawiki
CSS Noob here; how do I give individual pages specific image backgrounds?

Update: Solved! I posted the solution I found in the comments.

Hey all! So currently I have this chunk of code that applies an image background to all pages on the Wiki:

body.skin-citizen {
  background: url('https://i.imgur.com/3ziUq42.png') no-repeat center center fixed !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

And this is working great and all, but I was wondering if there's a way to make it so certain, important pages have unique image backgrounds, that would basically boil down to "For this specific page, use a different URL instead, and for this other specific page, use another different URL, and so on"

Here's the CSS for the wiki: https://trtfwiki.dev/wiki/MediaWiki:Common.css


I know... I was actually just thinkin' about this a few days ago. Man, Jacob, I swear, if that second album doesn't come soon...


Oh, so it's just usual Microslop. Gotchu, thanks for clearing that up! 👍


I'm actually getting the exact same threats. Last night my PC did an automated quick scan and found a "severe" threat affecting two other files:

file: C:\Users\gulie\AppData\Local\Microsoft\Windows\INetCache\IE\9UO1QO6L\services[1].swf
file: C:\Flashpoint\Legacy\htdocs\www.mochiads.com\static\lib\services\services.swf

I selected to removed the threat, but it did leave me a bit uneasy, so today I decided to have Defender do a full scan, and it found the two threats in the post, also with a status of severe. Opted to remove them as well.

Weird thing is I wasn't even downloading any sketchy games, I was just randomly browsing the default Flashpoint Hall of Fame playlist and downloaded a few games from there.

Maybe it has to do with an update to the Flashpoint launcher or something? I dunno, it seems really unlikely to me that multiple people would run into the exact same threat on the same day.