Forum:Darwin Fluid Layout + grids like champion roster

Hmm, I've been thinking about enabling fluid layout on Polish version but you beat me to it ;). But I decided to make the launch as smooth as possible, so I prepared the solution for something like the champion roster on mainpage. Small JS script that will make the grid centered and have it fit as many elements in the line as possible (that part is pure CSS already present in champion roster). At the moment you can see it in action on Polish (that won't end well) Dota 2 Wiki on the Monobook skin. Just resize the window horizontally and see how it behaves. All that needs to be done is:
 * add my script to imported ones in Mediawiki:Common.js "w:c:pl.leagueoflegends:MediaWiki:Common.js/gridfixer.js",
 * add this to Common/Wikia.css: .centered-grid {margin-left:auto;margin-right:auto}
 * get rid of the style setting fixed width on  in Mediawiki:Common.css
 * add a  class to the container of grid elements (  in champion roster)

Or any administrator can give me a blessing and I'll do it myself ;). — Nanaki 23:29, October 15, 2013 (UTC)