1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
2 |
|
---|
3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
4 | xmlns="http://www.w3.org/1999/xhtml"
|
---|
5 | version="1.0">
|
---|
6 |
|
---|
7 | <!-- We use XHTML -->
|
---|
8 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
|
---|
9 |
|
---|
10 | <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
|
---|
11 | <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
|
---|
12 |
|
---|
13 | <!-- Including our others customized templates -->
|
---|
14 | <xsl:include href="xhtml/lfs-admon.xsl"/>
|
---|
15 | <xsl:include href="xhtml/lfs-index.xsl"/>
|
---|
16 | <xsl:include href="xhtml/lfs-mixed.xsl"/>
|
---|
17 | <xsl:include href="xhtml/lfs-navigational.xsl"/>
|
---|
18 | <xsl:include href="xhtml/lfs-toc.xsl"/>
|
---|
19 |
|
---|
20 | <!-- Dropping some unwanted style attributes -->
|
---|
21 | <xsl:param name="ulink.target" select="''"></xsl:param>
|
---|
22 | <xsl:param name="css.decoration" select="0"></xsl:param>
|
---|
23 |
|
---|
24 | <!-- The CSS Stylesheet -->
|
---|
25 | <xsl:template name='user.head.content'>
|
---|
26 | <style type="text/css">
|
---|
27 | <xsl:text>
|
---|
28 | /* Global settings */
|
---|
29 | body {
|
---|
30 | font-family: sans-serif;
|
---|
31 | text-align: left;
|
---|
32 | background: #fff;
|
---|
33 | color: #333;
|
---|
34 | margin: 1em;
|
---|
35 | padding: 0;
|
---|
36 | font-size: 1em;
|
---|
37 | line-height: 1.2em
|
---|
38 | }
|
---|
39 |
|
---|
40 | a:link { color: #22b; }
|
---|
41 | a:visited { color: #7e4988; }
|
---|
42 | a:hover, a:focus { color: #d30e08; }
|
---|
43 | a:active { color: #6b77b1;}
|
---|
44 |
|
---|
45 | /* Headers */
|
---|
46 | h1, h2, b, strong {
|
---|
47 | color: #000;
|
---|
48 | font-weight: bold;
|
---|
49 | }
|
---|
50 |
|
---|
51 | h3, h4, h5, h6 {
|
---|
52 | color: #222;
|
---|
53 | }
|
---|
54 |
|
---|
55 | h1 { font-size: 173%; text-align: center; }
|
---|
56 | h2 { font-size: 144%; }
|
---|
57 | h2.subtitle { text-align: center; }
|
---|
58 | h3 { font-size: 120%; padding-top: 0.2em; margin-top: 0.3em; }
|
---|
59 | h4 { font-size: 110%;}
|
---|
60 | h5, h6 { font-size: 110%; font-style: italic; }
|
---|
61 |
|
---|
62 | /* TOC and Index*/
|
---|
63 |
|
---|
64 | div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
|
---|
65 | list-style: none;
|
---|
66 | }
|
---|
67 |
|
---|
68 | div.toc, div.dedication {
|
---|
69 | padding-left: 1em;
|
---|
70 | }
|
---|
71 |
|
---|
72 | li.preface {
|
---|
73 | margin-left: 1em;
|
---|
74 | }
|
---|
75 |
|
---|
76 | div.toc ul li h3, div.toc ul li h4 {
|
---|
77 | margin: .4em;
|
---|
78 | }
|
---|
79 |
|
---|
80 | .item {
|
---|
81 | width: 15em;
|
---|
82 | float: left;
|
---|
83 | }
|
---|
84 |
|
---|
85 | .secitem {
|
---|
86 | font-weight: normal;
|
---|
87 | width: 14em;
|
---|
88 | float: left;
|
---|
89 | }
|
---|
90 |
|
---|
91 | /* Admonitions */
|
---|
92 | div.note, div.tip {
|
---|
93 | background-color: #fffff6;
|
---|
94 | border: 2px solid #dbddec;
|
---|
95 | width: 90%;
|
---|
96 | margin: .5em auto;
|
---|
97 | }
|
---|
98 |
|
---|
99 | div.important, div.warning, div.caution {
|
---|
100 | background-color: #fffff6;
|
---|
101 | border: medium solid #400;
|
---|
102 | width: 90%;
|
---|
103 | margin: 1.5em auto;
|
---|
104 | color: #600;
|
---|
105 | font-size: larger;
|
---|
106 | }
|
---|
107 |
|
---|
108 | div.important h3, div.warning h3, div.caution h3 {
|
---|
109 | color: #900;
|
---|
110 | }
|
---|
111 |
|
---|
112 | div.admonhead img {
|
---|
113 | display: none;
|
---|
114 | }
|
---|
115 |
|
---|
116 | h3.admontitle {
|
---|
117 | padding-left: 2.5em;
|
---|
118 | padding-top: 1em;
|
---|
119 | }
|
---|
120 |
|
---|
121 | div.admonbody {
|
---|
122 | margin: .5em;
|
---|
123 | }
|
---|
124 |
|
---|
125 | div.important em, div.warning em, div.caution em {
|
---|
126 | color: #000;
|
---|
127 | font-weight: bold;
|
---|
128 | }
|
---|
129 |
|
---|
130 | div.important tt, div.warning tt, div.caution tt {
|
---|
131 | font-weight: bold;
|
---|
132 | }
|
---|
133 |
|
---|
134 | /* variablelist and segmentedlist */
|
---|
135 | dl {
|
---|
136 | margin: 0;
|
---|
137 | padding: 0;
|
---|
138 | }
|
---|
139 |
|
---|
140 | dt {
|
---|
141 | display: list-item;
|
---|
142 | font-weight: bold;
|
---|
143 | margin: .33em 0 0 1em;
|
---|
144 | padding: 0;
|
---|
145 | }
|
---|
146 |
|
---|
147 | div.content dt {
|
---|
148 | list-style: none;
|
---|
149 | }
|
---|
150 |
|
---|
151 | dd {
|
---|
152 | margin: 0 0 1em 3em;
|
---|
153 | padding: 0;
|
---|
154 | }
|
---|
155 |
|
---|
156 | div.variablelist dd {
|
---|
157 | margin-bottom: 1em;
|
---|
158 | }
|
---|
159 |
|
---|
160 | div.variablelist dd p {
|
---|
161 | margin-top: 0px;
|
---|
162 | }
|
---|
163 |
|
---|
164 | dl.materials dd {
|
---|
165 | margin-left: 0px;
|
---|
166 | }
|
---|
167 |
|
---|
168 | div.segmentedlist {
|
---|
169 | margin-top: 1em;
|
---|
170 | }
|
---|
171 |
|
---|
172 | div.segmentedlist p {
|
---|
173 | margin: 0px auto;
|
---|
174 | }
|
---|
175 |
|
---|
176 | /* Indented blocks */
|
---|
177 | p, ul, dl, code, blockquote {
|
---|
178 | padding-left: 1em;
|
---|
179 | }
|
---|
180 |
|
---|
181 | /* Monospaced elements */
|
---|
182 | tt, code, kbd, pre, .command {
|
---|
183 | font-family: monospace;
|
---|
184 | }
|
---|
185 |
|
---|
186 | pre.userinput {
|
---|
187 | color: #101310;
|
---|
188 | background-color: #e5e5e5;
|
---|
189 | border: 1px solid #050505;
|
---|
190 | padding: .5em 1em;
|
---|
191 | margin: 0 2em;
|
---|
192 | font-weight: bold;
|
---|
193 | }
|
---|
194 |
|
---|
195 | pre.screen {
|
---|
196 | background-color: #e9e9e9;
|
---|
197 | border: 1px solid #050505;
|
---|
198 | padding: .5em 1em;
|
---|
199 | margin: 0 2em;
|
---|
200 | }
|
---|
201 |
|
---|
202 | /* Sections */
|
---|
203 | div.package {
|
---|
204 | background: #f5f6f7;
|
---|
205 | border-bottom: 0.2em solid #dbddec;
|
---|
206 | padding: 0.5em 0.5em 0.3em 0.5em;
|
---|
207 | margin: 0px auto;
|
---|
208 | }
|
---|
209 |
|
---|
210 | div.installation {
|
---|
211 | padding: 0 0.5em 0.3em 0.5em;
|
---|
212 | margin: 0.5em 0 0.5em 0;
|
---|
213 | }
|
---|
214 |
|
---|
215 | div.configuration {
|
---|
216 | background: #fefefe;
|
---|
217 | border-top: 0.2em solid #dbddec;
|
---|
218 | padding: 0.5em;
|
---|
219 | margin: 0.5em 0 .5em 0;
|
---|
220 | }
|
---|
221 |
|
---|
222 | div.content {
|
---|
223 | background: #f5f6f7;
|
---|
224 | border-top: 0.2em solid #dbddec;
|
---|
225 | border-bottom: 0.2em solid #dbddec;
|
---|
226 | padding: 0.5em 0.5em 1em 0.5em;
|
---|
227 | margin: 0.5em 0 .5em 0;
|
---|
228 | }
|
---|
229 |
|
---|
230 | div.installation h3.title, div.content h3.title {
|
---|
231 | padding-top: 0.3em;
|
---|
232 | margin: 0;
|
---|
233 | }
|
---|
234 |
|
---|
235 | div.book, div.preface, div.part, div.chapter, div.sect1, div.index {
|
---|
236 | padding-bottom: 0.5em;
|
---|
237 | }
|
---|
238 |
|
---|
239 | div.preface h2, div.part h1, div.chapter h2.title, div.sect1 h2.title, div.index h1 {
|
---|
240 | background: #f5f6f7;
|
---|
241 | border-bottom: .2em solid #dbddec;
|
---|
242 | border-top: .2em solid #dbddec;
|
---|
243 | margin-top 1em;
|
---|
244 | padding: .5em;
|
---|
245 | text-align: center;
|
---|
246 | }
|
---|
247 |
|
---|
248 | div.book h1 {
|
---|
249 | background: #f5f6f7;
|
---|
250 | margin: 0px auto;
|
---|
251 | padding: 0.5em;
|
---|
252 | }
|
---|
253 |
|
---|
254 | div.book h2.subtitle {
|
---|
255 | background: #dbddec;
|
---|
256 | margin: 0px auto;
|
---|
257 | padding: 0.2em;
|
---|
258 | }
|
---|
259 | div.authorgroup, div p.copyright, div.abstract {
|
---|
260 | background: #f5f6f7;
|
---|
261 | margin: 0px auto;
|
---|
262 | padding: 1em 0.5em;
|
---|
263 | }
|
---|
264 |
|
---|
265 | hr {
|
---|
266 | background: #dbddec;
|
---|
267 | height: .3em;
|
---|
268 | border: 0px;
|
---|
269 | margin: 0px auto;
|
---|
270 | padding: 0;
|
---|
271 | }
|
---|
272 | </xsl:text>
|
---|
273 | </style>
|
---|
274 | </xsl:template>
|
---|
275 |
|
---|
276 | </xsl:stylesheet>
|
---|