MediaWiki talk:Common.css

mcwiki-header in mcforum style?
Why not update it to be in style of "article header" at minecraft forums? background: url(http://static.minecraftforum.net//public/style_images/mcf/skin/bg-article-header.png) repeat; border: 2px solid #C2D2DF; padding: .7em 10px; color: white;

– xPaw at 11:24, 29 April 2012 (UTC)


 * Because it looks really bad, and also the header style ties in with the logo. – ultradude25 ( T &#124; C ) at 13:13, 29 April 2012 (UTC)

Adverts forcing horizontal scrollbar on smaller screen resolutions
Can the following code: div.atflb { width: auto !important } be changed to include the bottom advert as well: div.atflb, div.btflb { width: auto !important } Thanks BryghtShadow 15:34, 9 May 2012 (UTC)

Infobox common
Infobox common is far too wide, it looks frankly rediculous on every page I've seen. I'm not sure if it's because members aren't on the same width or if it's just all-round poor judgement but I would suggest changing it. --86.16.72.219 20:10, 23 November 2012 (UTC)


 * I've adjusted the width back to its original 300px. I also removed a little bit of space between the right margin and the content. -- Hower64 07:58, 4 December 2012 (UTC)

Liberation Sans
Please remove Liberation Sans font. It looks terrible. IllidanS4 (talk • contribs • [ logs]) 11:20, 7 December 2013 (UTC)


 * Not going to happen. It's there because it has the same metrics as Arial and is likely to be found on computers that don't have Arial or Helvetica. Even if technical requirements weren't an issue, "looks terrible" is a very weak and subjective argument. -- Orthotopetalk 11:57, 7 December 2013 (UTC)


 * Even if we were to remove it (which would go back to having inconsistent font width on Linux and probably Mac), it would just come back as a default part of mediawiki as they have recently been working on a Typography Update (which I assume will be released in 1.23 or 1.24) that has Liberation Sans as part of its stack. We could maybe change the order to make Arial come before Liberation Sans, however I didn't do that as Arial didn't seem to render as well as Liberation Sans on Linux systems that have it installed, but looks just about as good as Arial on Windows. You can always change your own CSS or your browser settings if a slightly different looking font is really that terrible.
 * Also you signature is a bit excessive, and contains wikicode which should be substed (mainly that if statement and the pointless urlencodes). –Matt ᐸ Talk Contribs ⎜ 13:05, 7 December 2013 (UTC)


 * This looks more like a significant than slight difference to me. Liberation is far worse readable than Arial and the letters look quite distorted. You may at least change the order (as said - fallback when Arial is not found), as it is in the Typography Update (considering Arial 'better' than Liberation). IllidanS4 (talk • contribs • [ logs]) 23:24, 8 December 2013 (UTC)


 * That's not an issue with the font, your browser is rendering it incorrectly. Check your clearfont or truetype settings. This is what it's supposed to look like (Arial on top, Liberation Sans on bottom).  23:51, 8 December 2013 (UTC)

Specific column alignments
Is there a way to set table cell alignment per-column, apart from setting it cell-by-cell in a cumbersome way?

If not, could we do a solution like the following: (found at http://stackoverflow.com/questions/24494604/mediawiki-table-efficiently-applying-different-alignment-for-different-column):

Add these rules:

table.col-1-center td:nth-child(1) { text-align: center; } table.col-2-center td:nth-child(2) { text-align: center; } table.col-3-center td:nth-child(3) { text-align: center; } ... table.col-3-center td:nth-child(n) { text-align: center; }

table.col-1-right td:nth-child(1) { text-align: right; } table.col-2-right td:nth-child(2) { text-align: right; } table.col-3-right td:nth-child(3) { text-align: right; } ... table.col-9-right td:nth-child(n) { text-align: right; }

Use it like so: – Sealbudsman talk/contr 21:45, 13 January 2017 (UTC)
 * I could see this being used in :Renewable resource/table. It would probably be good for other tables as well., can you both participate in this discussion? The BlobsPaper.png 14:50, 14 January 2017 (UTC)
 * A better way of implementing this might be to use a  custom attribute in the topmost cell of a column, and have some JS search for such attributes and apply the styles in them to the whole column. This would allow any CSS to be applied to table columns, not just whatever CSS was decided should have its own class, and would thus prevent a potential proliferation of such classes. 「 ディノ 奴  千？！ 」? · ☎ Dinoguy1000 16:49, 14 January 2017 (UTC)
 * The BlobsPaper.png 17:03, 14 January 2017 (UTC)