1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
/*
* tables.css
*
* Copyright (c) 2004 David Holroyd, and contributors
* See the file 'COPYING' for terms of use
*
* Part of the Docbook-CSS stylesheet
* http://www.badgers-in-foil.co.uk/projects/docbook-css/
*
*/
tgroup {
display: table;
}
row {
display: table-row;
}
thead {
display: table-header-group;
}
tbody {
display: table-row-group;
}
entry, entrytbl {
display: table-cell;
}
entry[valign=top] {
vertical-align: top;
}
entry[valign=bottom] {
vertical-align: bottom;
}
/*
* CSS can't generate the indended formatting for segmented lists, so we turn
* them into tables instead.
*
* TODO: seems to break formatting when nested in a table entry
*/
segmentedlist {
display: table;
}
seglistitem {
display: table-row;
}
seg, segtitle {
display: table-cell;
}
segmentedlist>title {
display: table-caption;
}
|