File: tables.css

package info (click to toggle)
xhtmlrenderer 0.0~R8%2Bdfsg2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 11,292 kB
  • sloc: java: 46,036; xml: 1,518; makefile: 27; sh: 11
file content (89 lines) | stat: -rw-r--r-- 3,421 bytes parent folder | download | duplicates (3)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
 * tables.css
 *
 * Copyright (c) 2004 David Holroyd, and contributors
 * Copyright (c) 2005 Michael Thiele, and contributors
 * See the file 'COPYING' for terms of use
 *
 * Part of wysiwygDocBook 1.01, a developed DocBook CSS stylesheet based on version 0.4 from
 *   http://www.badgers-in-foil.co.uk/projects/docbook-css/
 *
 * This file contains formatting for table elements
 */

table {
	border-collapse: collapse;
}

entry, td, th {
	padding: .2em;
	text-align: left;
}
entrytbl {
	padding: .2em;
}
entry[valign=top], td[valign=top], th[valign=top] {
	vertical-align: top;
}
entry[valign=bottom], td[valign=bottom], th[valign=bottom], entry[valign=baseline],
td[valign=baseline], th[valign=baseline] {
	vertical-align: bottom;
}
entry[align=center], td[align=center], th[align=center] {
	text-align: center;
}
entry[valign=right], td[valign=right], th[valign=right] {
	text-align: right;
}
entry[align=justify], td[align=justify], th[align=justify] {
	text-align: justify;
}

tfoot, thead, th {
	font-weight: bolder;
	background-color: #dadada;
}

table[rowsep="1"] entry, table[rowsep="1"] entrytbl, table[rowsep="1"] td, table[rowsep="1"] th {
	border-bottom: 1px solid gray;
}
/*table[rowsep="1"] row:last-child entry, table[rowsep="1"] row:last-child entrytbl,
table[rowsep="1"] tr:last-child td, table[rowsep="1"] tr:last-child th {
	border-bottom: 0px;
}*/
table[colsep="1"] entry, table[colsep="1"] entrytbl, table[colsep="1"] td, table[colsep="1"] th {
	border-right: 1px solid gray;
}
/*table[colsep="1"] entry:last-child, table[colsep="1"] entrytbl:last-child,
table[colsep="1"] td:last-child, table[colsep="1"] th:last-child {
	border-right: 0px;
}*/

table[frame="sides"] entry:first-child, table[frame="sides"] entrytbl:first-child,
table[frame="sides"] td:first-child, table[frame="sides"] th:first-child,
table[frame="all"] entry:first-child, table[frame="all"] entrytbl:first-child,
table[frame="all"] td:first-child, table[frame="all"] th:first-child {
	border-left: 1px solid gray;
}
/*table[frame="sides"] entry:last-child, table[frame="sides"] entrytbl:last-child,
table[frame="sides"] td:last-child, table[frame="sides"] th:last-child,
table[frame="all"] entry:last-child, table[frame="all"] entrytbl:last-child,
table[frame="all"] td:last-child, table[frame="all"] th:last-child {
	border-right: 1px solid gray;
}*/
table[frame="topbot"] row:first-child entry, table[frame="topbot"] row:first-child entrytbl,
table[frame="topbot"] tr:first-child td, table[frame="topbot"] tr:first-child th,
table[frame="all"] row:first-child entry, table[frame="all"] row:first-child entrytbl,
table[frame="all"] tr:first-child td, table[frame="all"] tr:first-child th,
table[frame="top"] row:first-child entry, table[frame="top"] row:first-child entrytbl,
table[frame="top"] tr:first-child td, table[frame="top"] tr:first-child th {
	border-top: 1px solid gray;
}
/*table[frame="topbot"] row:last-child entry, table[frame="topbot"] row:last-child entrytbl,
table[frame="topbot"] tr:last-child td, table[frame="topbot"] tr:last-child th,
table[frame="all"] row:last-child entry, table[frame="all"] row:last-child entrytbl,
table[frame="all"] tr:last-child td, table[frame="all"] tr:last-child th,
table[frame="bottom"] row:last-child entry, table[frame="bottom"] row:last-child entrytbl,
table[frame="bottom"] tr:last-child td, table[frame="bottom"] tr:last-child th {
	border-bottom: 1px solid gray;
}*/