]> Git — Sourcephile - doclang.git/blob - style/dtc-table.css
Fix order of section judgments.
[doclang.git] / style / dtc-table.css
1 /* .table */
2 div.table {
3 margin-top:1ex;
4 }
5 table.table.headers > thead > tr > th {
6 border-style:none none solid none;
7 border-width:2px;
8 }
9 table.table > * > tr:target,
10 table.table > * > tr > th:target,
11 table.table > * > tr > td:target {
12 background-color:#BFEFFF;
13 }
14 table.table > tbody > tr > td {
15 text-align:center;
16 vertical-align:center;
17 }
18 table.table > tbody.left > tr > td,
19 table.table > tbody > tr.left > td,
20 table.table > tbody > tr > td.left {
21 text-align:left;
22 }
23 table.table > tbody.right > tr > td,
24 table.table > tbody > tr.right > td,
25 table.table > tbody > tr > td.right {
26 text-align:right;
27 }
28 table.table > tbody.center > tr > td,
29 table.table > tbody > tr.center > td,
30 table.table > tbody > tr > td.center {
31 text-align:center;
32 }
33 table.table > tbody.top > tr > td,
34 table.table > tbody > tr.top > td,
35 table.table > tbody > tr > td.top {
36 vertical-align:top;
37 }
38 table.table > tbody.bottom > tr > td,
39 table.table > tbody > tr.bottom > td,
40 table.table > tbody > tr > td.bottom {
41 vertical-align:bottom;
42 }
43 table.table > tbody.middle > tr > td,
44 table.table > tbody > tr.middle > td,
45 table.table > tbody > tr > td.middle {
46 vertical-align:middle;
47 }
48 table.table.center {
49 margin-left:auto;
50 margin-right:auto;
51 }
52 table.table.left {
53 margin-right:auto;
54 }
55 table.table.right {
56 margin-left:auto;
57 }
58 table.table > caption {
59 caption-side:bottom;
60 font-size:10pt;
61 font-weight:bold;
62 margin-top:.5em;
63 }
64 table.table > thead {
65 display:table-header-group;
66 }
67 table.table > tbody {
68 }
69 table.table > tfoot {
70 }
71 /* table.all */
72 table.table.all {
73 border-style:solid;
74 border-width:2px;
75 }
76 table.table.all > thead > tr > th {
77 border-style:solid;
78 border-width:1px;
79 }
80 table.table.all > tbody > tr > td {
81 border-style:solid;
82 border-width:1px;
83 }
84 /* table.inside */
85 table.table.inside {
86 border-collapse:collapse;
87 }
88 table.table.inside > * > tr > td,
89 table.table.inside > * > tr > th {
90 border:1px solid black;
91 padding:0.5ex 1ex 0.5ex 1ex;
92 }
93 table.table.inside > * > tr:first-child > td,
94 table.table.inside > * > tr:first-child > th {
95 border-top:0;
96 }
97 table.table.inside > * > tr:last-child > td,
98 table.table.inside > tbody > tr:last-child > th {
99 border-bottom:0;
100 }
101 table.table.inside > * > tr > td:first-child,
102 table.table.inside > * > tr > th:first-child {
103 border-left:0;
104 }
105 table.table.inside > * > tr > td:last-child,
106 table.table.inside > * > tr > th:last-child {
107 border-right:0;
108 }
109 /* table.full */
110 table.table.full {
111 }
112 table.table.full > thead > tr > th {
113 border-style:solid;
114 border-width:1px 1px 2px 1px;
115 }
116 table.table.full > tbody > tr > td {
117 border:1px solid black;
118 padding:0 0 0 0;
119 }