Debian Codegraph @

xslt/common/css/docbook.css.tmpl

raw
1 <tmpl>
2 div.hgroup.bridgehead { margin-top: 1em; }
3
4 <!-- == common == -->
5 sub { font-size: 0.83em; }
6 sub sub { font-size: 1em; }
7 sup { font-size: 0.83em; }
8 sup sup { font-size: 1em; }
9 table.table-pgwide { width: 100%; }
10 table.table-rules-groups thead + *, table.table-rules-rows thead + *,
11 table.table-rules-groups tfoot + *, table.table-rules-rows tfoot + *,
12 table.table-rules-groups tbody + *, table.table-rules-rows tbody + *,
13 table.table-rules-rows tr + * { border-top: solid 1px; }
14 table.table-rules-cols td + *, table.table-rules-cols th + * {
15 border-{{$left}}: solid 1px;
16 }
17
18 td.td-colsep { border-{{$right}}: solid 1px; }
19 td.td-rowsep { border-bottom: solid 1px; }
20
21 <!-- == bibliography == -->
22 span.bibliolabel {
23 font-weight: bold;
24 color: {{$color.fg.dark}};
25 }
26 div.biblioentry span.title {
27 font-weight: normal;
28 font-style: italic;
29 }
30 span.citetitle {
31 font-style: italic;
32 }
33
34 <!-- == block == -->
35 div.epigraph {
36 text-align: {{$right}};
37 margin-{{$left}}: 20%;
38 margin-{{$right}}: 0;
39 color: {{$color.fg.dark}};
40 }
41 div.programlisting .userinput {
42 font-weight: bold;
43 color: {{$color.fg.dark}};
44 }
45 div.address, div.literallayout { white-space: pre; }
46
47
48 <!-- == footnotes == -->
49 div.footnotes {
50 border-top: solid 2px {{$color.gray}};
51 }
52 div.footnote { margin-top: 1.44em; }
53 sup.footnote { font-size: 0.83em; }
54 a.footnote {
55 font-weight: bold;
56 text-decoration: none;
57 border-bottom: none;
58 padding: 0.2em 0.5em 0.2em 0.5em;
59 border-radius: 2px;
60 }
61 div.footnote > a.footnote {
62 margin-{{$right}}: 0.83em;
63 background-color: {{$color.bg.gray}};
64 }
65 div.footnote > a.footnote + p { display: inline-block; margin: 0; }
66 a.footnote:hover, div.footnote > a.footnote:hover {
67 background-color: {{$color.bg.blue}};
68 box-shadow: 0 0 2px {{$color.blue}};
69 }
70
71 <!-- == indexes == -->
72 dt.ixprimary {
73 font-weight: bold;
74 color: {{$color.fg.dark}};
75 }
76 dt.ixprimary * { font-style: normal; }
77 dt.ixprimary + dt.ixprimary { margin-top: 1em; }
78 dd.ixsecondary {
79 color: {{$color.fg.gray}};
80 }
81 dt.ixsecondary, dt.ixtertiary { margin-top: 0.2em; }
82 dd.ixlink, dd.ixsee, dd.ixseealso {
83 color: {{$color.fg.gray}};
84 }
85 dd.ixlink + dd, dd.ixsee + dd, dd.ixseealso + dd {
86 margin-top: 0.2em;
87 }
88 dt.ixsecondary:before, dt.ixtertiary:before {
89 content: "⏺";
90 color: {{$color.fg.gray}};
91 }
92 dd.ixlink:before {
93 content: "⏺";
94 color: {{$color.blue}};
95 }
96 dd.ixsee:before, dd.ixseealso:before {
97 content: "⏺";
98 color: {{$color.gray}};
99 }
100
101 <!-- == unsorted == -->
102 dl.index dt { margin-top: 0; }
103 dl.index dd { margin-top: 0; margin-bottom: 0; }
104 dl.indexdiv dt { margin-top: 0; }
105 dl.indexdiv dd { margin-top: 0; margin-bottom: 0; }
106 dl.setindex dt { margin-top: 0; }
107 dl.setindex dd { margin-top: 0; margin-bottom: 0; }
108 div.simplelist { margin-{{$left}}: 1.72em; }
109 div.simplelist table { margin-left: 0; border: none; }
110 div.simplelist td {
111 padding: 0.5em;
112 border-{{$left}}: solid 1px {{$color.gray}};
113 }
114 div.simplelist td:first-child {
115 padding-{{$left}}: 0;
116 border-{{$left}}: 0;
117 }
118
119 span.accel { text-decoration: underline; }
120 span.email { font-family: monospace,monospace; font-size: 0.83em; }
121 span.firstterm { font-style: italic; }
122 span.foreignphrase { font-style: italic; }
123
124 dt.glossterm span.glossterm { font-style: normal; }
125 <!--
126 dt.glossterm { margin-left: 0em; }
127 dd + dt.glossterm { margin-top: 2em; }
128 dd.glossdef, dd.glosssee, dd.glossseealso { margin-top: 0em; margin-bottom: 0; }
129 -->
130
131 span.glossterm { font-style: italic; }
132
133 span.lineannotation { font-style: italic; }
134 span.medialabel { font-style: italic; }
135 .methodparam span.parameter { font-style: italic; }
136 span.paramdef span.parameter { font-style: italic; }
137 span.prompt { font-family: monospace,monospace; font-size: 0.83em; }
138 span.wordasword { font-style: italic; }
139 <!-- FIXME below -->
140
141 dt.question {
142 margin-left: 0;
143 margin-right: 0;
144 font-weight: bold;
145 color: {{$color.fg.dark}};
146 }
147 dd + dt.question { margin-top: 1em; }
148 dd.answer {
149 margin-top: 1em;
150 margin-left: 2em;
151 margin-right: 2em;
152 }
153 div.qanda-label {
154 line-height: 1.44em;
155 float: {{$left}};
156 margin-{{$right}}: 1em;
157 font-weight: bold;
158 color: {{$color.fg.dark}};
159 }
160 dl.qandaset ol, dl.qandaset ul, dl.qandaset table { clear: both; }
161
162 div.synopfragment { padding-top: 0.5em; }
163 span.co {
164 border-radius: 4px;
165 background-color: {{$color.bg.yellow}};
166 outline: solid 1px {{$color.yellow}};
167 }
168 span.co a { text-decoration: none; }
169 span.co a:hover { text-decoration: none; }
170 div.co {
171 margin: 0;
172 float: {{$left}};
173 clear: both;
174 }
175 </tmpl>