MediaWiki talk:Common.css

From Kerbal Space Program Wiki
Jump to: navigation, search

Change request 2 June 2015

Originally posted as User talk:XZise#CSS change request, moved here 13:03, 11 June 2015 (UTC)

I have prepared an updated version of MediaWiki:Common.css at User:Murph/common.css. It contains a wider selection of imports from Wikipedia's w:MediaWiki:Common.css. It enables a number of different things, such as correct default styles for {{Navbar}}, {{Navbox}}, {{Sidebar}}, {{Mbox}}, etc. It also adds some potentially useful/interesting things such as "plainlist", "flowlist", "nonumtoc" (e.g. Version history's TOC would look much cleaner without section numbers), "toclimit" (limits the depth of the TOC, e.g. to only H2 or H3, not smaller headings). Reference lists also get the WP styling, which reduces their visual size a little; they look much nicer styled that way. It also adds the necessary comment text to comply with the terms of the CC BY-SA license (technically our existing Common.css could be considered copyright infringement).

I have been using this version of the CSS for a few days now, via forcibly and automatically injecting JavaScript into the site when it's rendered in my browser, and swapping between the site version and my local version. It doesn't make any significant changes to the site's appearance, with important things like {{Box}} (and the various other templates which use it) and the {{Infobox}} family visually identical. I.e. I'm very confident that there's not anything obviously broken by my new CSS, and that existing live content is not harmed by it.

So, can you install it, please, when you have time. It's a complete replacement for the existing contents of Common.css. Existing site-specific styling (i.e. the extra bits which don't come from Wikipedia) is preserved in it. Here are a couple of edit links for your convenience (with oldid in mine, so that future site historians/archaeologists know which revision was being discussed):

http://wiki.kerbalspaceprogram.com/index.php?title=User:Murph/common.css&oldid=64045&action=edit http://wiki.kerbalspaceprogram.com/index.php?title=MediaWiki:Common.css&action=edit

Thanks.

--Murph (talk) 10:27, 2 June 2015 (UTC)

Done, and change looks good to me. Thanks.  :-) --Murph (talk) 11:24, 11 June 2015 (UTC)