MediaWiki:Common.css: Difference between revisions

Xenwolf (talk | contribs)
+text-align in table cells for up to 9 columns
Xenwolf (talk | contribs)
per-table default for text-align added
Line 8: Line 8:
}
}


/* text-align for up to 9 table rows */
/* text-align property for 1 to 9 table rows, default is set by the *-all class */
table.left-all td,
table.left-1 td:nth-child(1),  
table.left-1 td:nth-child(1),  
table.left-2 td:nth-child(2),
table.left-2 td:nth-child(2),
Line 17: Line 18:
table.left-7 td:nth-child(7),  
table.left-7 td:nth-child(7),  
table.left-8 td:nth-child(8),
table.left-8 td:nth-child(8),
table.left-9 td:nth-child(9) {
table.left-1 td:nth-child(9) {
   text-align: left;
   text-align: left;
}
}
table.center-all td,
table.center-1 td:nth-child(1),  
table.center-1 td:nth-child(1),  
table.center-2 td:nth-child(2),
table.center-2 td:nth-child(2),
Line 31: Line 33:
   text-align: center;
   text-align: center;
}
}
table.right-all td,
table.right-1 td:nth-child(1),  
table.right-1 td:nth-child(1),  
table.right-2 td:nth-child(2),
table.right-2 td:nth-child(2),