All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docbook.docbook-css-0.4.tables.css Maven / Gradle / Ivy

There is a newer version: 9.11.1
Show newest version
/*
 * 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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy