Jump to content

Template:Table vertical alignment/styles.css

From Wikipedia, the free encyclopedia
/* adapted from [[Template:Table alignment/styles.css]] */

.vertical-align-top tr, /* was used by the old [[Template:Vertical align rows]] (now a redirect) */
.defaulttop tr,
.col1top td:nth-child(1),
.col2top td:nth-child(2),
.col3top td:nth-child(3),
.col4top td:nth-child(4),
.col5top td:nth-child(5),
.col6top td:nth-child(6),
.col7top td:nth-child(7),
.col8top td:nth-child(8),
.col9top td:nth-child(9),
.col10top td:nth-child(10),
.col11top td:nth-child(11),
.col12top td:nth-child(12),
.col13top td:nth-child(13),
.col14top td:nth-child(14),
.col15top td:nth-child(15),
.col16top td:nth-child(16),
.col17top td:nth-child(17),
.col18top td:nth-child(18),
.col19top td:nth-child(19),
.col20top td:nth-child(20),
.col21top td:nth-child(21),
.col22top td:nth-child(22),
.col23top td:nth-child(23),
.col24top td:nth-child(24),
.col25top td:nth-child(25),
.col26top td:nth-child(26),
.col27top td:nth-child(27),
.col28top td:nth-child(28),
.col29top td:nth-child(29),
.col-1top td:nth-last-child(1),
.col-2top td:nth-last-child(2),
.col-3top td:nth-last-child(3),
.col-4top td:nth-last-child(4),
.col-5top td:nth-last-child(5),
.col-6top td:nth-last-child(6),
.col-7top td:nth-last-child(7),
.col-8top td:nth-last-child(8),
.col-9top td:nth-last-child(9) {
	vertical-align:top
}

.defaultmiddle tr,
.col1middle td:nth-child(1),
.col2middle td:nth-child(2),
.col3middle td:nth-child(3),
.col4middle td:nth-child(4),
.col5middle td:nth-child(5),
.col6middle td:nth-child(6),
.col7middle td:nth-child(7),
.col8middle td:nth-child(8),
.col9middle td:nth-child(9),
.col10middle td:nth-child(10),
.col11middle td:nth-child(11),
.col12middle td:nth-child(12),
.col13middle td:nth-child(13),
.col14middle td:nth-child(14),
.col15middle td:nth-child(15),
.col16middle td:nth-child(16),
.col17middle td:nth-child(17),
.col18middle td:nth-child(18),
.col19middle td:nth-child(19),
.col20middle td:nth-child(20),
.col21middle td:nth-child(21),
.col22middle td:nth-child(22),
.col23middle td:nth-child(23),
.col24middle td:nth-child(24),
.col25middle td:nth-child(25),
.col26middle td:nth-child(26),
.col27middle td:nth-child(27),
.col28middle td:nth-child(28),
.col29middle td:nth-child(29),
.col-1middle td:nth-last-child(1),
.col-2middle td:nth-last-child(2),
.col-3middle td:nth-last-child(3),
.col-4middle td:nth-last-child(4),
.col-5middle td:nth-last-child(5),
.col-6middle td:nth-last-child(6),
.col-7middle td:nth-last-child(7),
.col-8middle td:nth-last-child(8),
.col-9middle td:nth-last-child(9) {
	vertical-align:middle
}

.vertical-align-bottom tr, /* was used by the old [[Template:Vertical align rows]] (now a redirect) */
.defaultbottom tr,
.col1bottom td:nth-child(1),
.col2bottom td:nth-child(2),
.col3bottom td:nth-child(3),
.col4bottom td:nth-child(4),
.col5bottom td:nth-child(5),
.col6bottom td:nth-child(6),
.col7bottom td:nth-child(7),
.col8bottom td:nth-child(8),
.col9bottom td:nth-child(9),
.col10bottom td:nth-child(10),
.col11bottom td:nth-child(11),
.col12bottom td:nth-child(12),
.col13bottom td:nth-child(13),
.col14bottom td:nth-child(14),
.col15bottom td:nth-child(15),
.col16bottom td:nth-child(16),
.col17bottom td:nth-child(17),
.col18bottom td:nth-child(18),
.col19bottom td:nth-child(19),
.col20bottom td:nth-child(20),
.col21bottom td:nth-child(21),
.col22bottom td:nth-child(22),
.col23bottom td:nth-child(23),
.col24bottom td:nth-child(24),
.col25bottom td:nth-child(25),
.col26bottom td:nth-child(26),
.col27bottom td:nth-child(27),
.col28bottom td:nth-child(28),
.col29bottom td:nth-child(29),
.col-1bottom td:nth-last-child(1),
.col-2bottom td:nth-last-child(2),
.col-3bottom td:nth-last-child(3),
.col-4bottom td:nth-last-child(4),
.col-5bottom td:nth-last-child(5),
.col-6bottom td:nth-last-child(6),
.col-7bottom td:nth-last-child(7),
.col-8bottom td:nth-last-child(8),
.col-9bottom td:nth-last-child(9) {
	vertical-align:bottom
}