MediaWiki talk:Common.css

pretty table
Could we import one? This would make it easier/prettier to create tables, that would also be more standard. If we use wikipedia's table, and apply the colors used in the infobox, this is what we get.
 * EDIT:Removed bad css

Happypal 13:51, 19 May 2011 (UTC)


 * After studying the tables on the wiki more, I came up with the css that creates this:
 * {| style="margin: 1em 1em 1em 0;background: #f9f9f9;border: 1px #aaaaaa solid;-moz-border-radius: .7em; -webkit-border-radius: .7em; padding: 0.2em;"

!style="padding: 0.2em;background: #E4F0F7;color: #063B5E;text-align: center;"| !style="padding: 0.2em;background: #E4F0F7;color: #063B5E;text-align: center;"|Slime Type !style="padding: 0.2em;background: #E4F0F7;color: #063B5E;text-align: center;"|Health !style="padding: 0.2em;background: #E4F0F7;color: #063B5E;text-align: center;"|Green Slime !style="padding: 0.2em;background: #E4F0F7;color: #063B5E;text-align: center;"|Blue Slime table.terraria { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; padding: 0.2em; -moz-border-radius: .7em; -webkit-border-radius: .7em; } .terraria th, .terraria td { padding: 0.2em; } .terraria th { background: #E4F0F7; color: #063B5E; text-align: center; } .terraria td { } .terraria caption { font-weight: bold; } I think it would be really beneficial to the wiki if we added this in. It would mean any editor is able to easily create a pretty, standardized, table. Happypal 06:27, 20 May 2011 (UTC)
 * style="padding: 0.2em;"| 15
 * style="padding: 0.2em;"| 8
 * style="padding: 0.2em;"| 25
 * style="padding: 0.2em;"| 7
 * }

ul
Why does it float left? It makes it so I can't make bullets center with text without super mega ridiculously complex code. See User:Null/sandbox "The game". 03:30, 29 August 2011 (UTC)
 * Anyone? --Null  Talk  22:25, 29 August 2011 (UTC)
 * Tables default to a left alignment. -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  22:34, 29 August 2011 (UTC)
 * What about bullets? Can we remove float: left from them since float: none doesn't do anything? --Null  Talk  22:43, 29 August 2011 (UTC)