Difference between revisions of "MediaWiki:Common.css"
From GRFSpecs
Jump to navigationJump to searchPlanetmaker (talk | contribs) m (nor padding) |
Planetmaker (talk | contribs) (Finally... some usuable style for tables) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
⚫ | |||
− | /* Normal font styling for table row headers with scope="row" tag */ |
||
+ | border: 1px solid #CCCCCC; |
||
− | .wikitable.plainrowheaders th[scope=row] { |
||
− | + | padding: 0; |
|
− | text-align: left; |
||
} |
} |
||
+ | table { |
||
− | |||
+ | border-collapse: collapse; |
||
− | table.wikitable td, table.wikitable th { |
||
− | + | empty-cells: show; |
|
− | padding: 0px; |
||
− | cellpadding: 0px; |
||
− | cellspacing: 0px; |
||
− | } |
||
− | |||
− | /* lists in data cells are always left-aligned */ |
||
− | .wikitable td ul, |
||
− | .wikitable td ol, |
||
⚫ | |||
− | text-align: left; |
||
} |
} |
Revision as of 06:31, 13 June 2011
/* CSS placed here will be applied to all skins */ table.wikitable td, th { border: 1px solid #CCCCCC; padding: 0; } table { border-collapse: collapse; empty-cells: show; }