Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Is editing the wiki CSS possible?  (Read 1409 times)

Pillbo

  • Bay Watcher
    • View Profile
Is editing the wiki CSS possible?
« on: January 05, 2020, 08:11:19 pm »

I was reading the Modding page and it is incredibly wide, which personally bugs me.  Adding one line in the CSS,  [overflow: auto;] or [overflow: scroll;], to the [pre, .mw-code] tag makes the page much more user friendly and attractive without changing the content any. I do it in the inspector whenever I'm browsing the page.

Code: [Select]
pre, .mw-code {
    overflow: auto;
}

I haven't really spent any time looking at the CSS and source, so maybe there's a better place to put it.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Is editing the wiki CSS possible?
« Reply #1 on: January 05, 2020, 11:46:38 pm »

Added (and changed to overflow-x) - seems like it shouldn't affect anything else. Only admins can edit this page, but feel free to suggest other fixes.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Pillbo

  • Bay Watcher
    • View Profile
Re: Is editing the wiki CSS possible?
« Reply #2 on: January 05, 2020, 11:55:35 pm »

Thanks, looks good!
Logged