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