X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/blobdiff_plain/03a939de088ce6528bb77ca2578070b0036b9c86..2fb007f054c284bbac8a027711846936b9958fee:/docbook-css-0.4/tables.css diff --git a/docbook-css-0.4/tables.css b/docbook-css-0.4/tables.css new file mode 100644 index 0000000..da148a3 --- /dev/null +++ b/docbook-css-0.4/tables.css @@ -0,0 +1,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; +}