source: BOOK/stylesheets/top-index.xsl@ 9ee1e9f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9ee1e9f was 5acad79, checked in by Jim Gifford <clfs@…>, 19 years ago

r2557@server (orig r1267): jciccone | 2006-03-13 12:47:13 -0800
removed pure64 bootloader warning

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[3f8be484]1<?xml version='1.0' encoding='ISO-8859-1'?>
2<!DOCTYPE xsl:stylesheet [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6
7<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns="http://www.w3.org/1999/xhtml"
9 version="1.0">
10
11 <xsl:output method="html" encoding="iso-8859-1"/>
12
13 <xsl:template match="/">
14 <html>
15 <head>
16 <title>
17 Linux From Scratch
18 </title>
19 <style type="text/css">
20 <xsl:text>
21body {
22 font-family: sans-serif;
23 text-align: left;
24 background: #fff;
25 color: #333;
26 margin: 1em;
27 padding: 0;
28 font-size: 1em;
29 line-height: 1.2em
30}
31
32a:link { color: #22b; }
33a:visited { color: #7e4988; }
34a:hover, a:focus { color: #d30e08; }
35a:active { color: #6b77b1;}
36
37h1, h2 {
38 color: #000;
39 font-weight: bold;
40}
41
42h3, h4, h5, h6 {
43 color: #222;
44}
45
46h1 { font-size: 173%; text-align: center; }
47h2 { font-size: 144%; text-align: center; }
48h3 { font-size: 120%; padding-top: 0.2em; margin-top: 0.3em; }
49h4 { font-size: 110%;}
50
51div.toc {
52 padding-left: 1em;
53 margin-top: 1em;
54}
55
56div.toc ul li h3, div.toc ul li h4 {
57 margin: .4em;
58}
59
60div.book {
61 padding-bottom: 0.5em;
62}
63
64div.book h1 {
65 background: #f5f6f7;
66 margin: 0px auto;
67 padding: 0.5em;
68}
69
70div.book h2 {
71 background: #dbddec;
72 margin: 0px auto;
73 padding: 0.2em;
74}
75div.authorgroup, div p.copyright {
76 background: #f5f6f7;
77 margin: 0px auto;
78 padding: 1em 0.5em;
79}
80
81hr {
82 background: #dbddec;
83 height: .3em;
84 border: 0px;
85 margin: 0px auto;
86 padding: 0;
87}
88 </xsl:text>
89 </style>
90 </head>
91 <body>
92 <xsl:apply-templates/>
93 </body>
94 </html>
95 </xsl:template>
96
97 <xsl:template match="bookinfo">
98 <div class="book">
99 <div class="titlepage">
100 <xsl:apply-templates/>
101 <hr/>
102 </div>
103 <div class="toc">
104 <h3>
105 <xsl:text>32 Bit Builds</xsl:text>
106 </h3>
107 <ul>
108 <h3>
109 <xsl:text>Working. Testers and comments welcomed.</xsl:text>
110 </h3>
111 <li>
112 <h4>
113 <a href="x86">
114 <xsl:text>Intel/AMD x86</xsl:text>
115 </a>
116 </h4>
117 </li>
118 <li>
119 <h4>
120 <a href="ppc">
121 <xsl:text>PowerPC</xsl:text>
122 </a>
123 </h4>
124 </li>
125 <li>
126 <h4>
127 <a href="mips">
128 <xsl:text>MIPS</xsl:text>
129 </a>
130 </h4>
131 </li>
[ba9c9ed]132 <li>
133 <h4>
134 <a href="sparcv8">
[958244b]135 <xsl:text>Sparc v8</xsl:text>
[ba9c9ed]136 </a>
137 </h4>
138 </li>
[3f8be484]139 <li>
140 <h4>
141 <a href="sparc">
[fb28751]142 <xsl:text>Sparc v9 and above</xsl:text>
[3f8be484]143 </a>
144 </h4>
145 </li>
146 </ul>
147 <h3>
148 <xsl:text>64 Bit Builds</xsl:text>
149 </h3>
150 <ul>
151 <h3>
[5acad79]152 <xsl:text>Working. Testers and comments welcomed.</xsl:text>
[3f8be484]153 </h3>
154 <li>
155 <h4>
156 <a href="x86_64-64">
157 <xsl:text>x86_64</xsl:text>
158 </a>
159 </h4>
160 </li>
161 <li>
162 <h4>
163 <a href="mips64-64">
164 <xsl:text>MIPS</xsl:text>
165 </a>
166 </h4>
167 </li>
168 <li>
169 <h4>
170 <a href="sparc64-64">
171 <xsl:text>Sparc/UltraSPARC</xsl:text>
172 </a>
173 </h4>
174 </li>
175 <li>
176 <h4>
177 <a href="alpha">
178 <xsl:text>Alpha</xsl:text>
179 </a>
180 </h4>
181 </li>
182 </ul>
183 <h3>
184 <xsl:text>Multilib Builds</xsl:text>
185 </h3>
186 <ul>
187 <h3>
188 <xsl:text>Working. Testers and comments welcomed.</xsl:text>
189 </h3>
190 <li>
191 <h4>
192 <a href="x86_64">
193 <xsl:text>x86_64</xsl:text>
194 </a>
195 </h4>
196 </li>
197 <li>
198 <h4>
199 <a href="mips64">
200 <xsl:text>MIPS</xsl:text>
201 </a>
202 </h4>
203 </li>
204 <li>
205 <h4>
206 <a href="sparc64">
207 <xsl:text>Sparc/UltraSPARC</xsl:text>
208 </a>
209 </h4>
210 </li>
[d49b9e8]211 <br />
212 <h3>
213 <xsl:text>Totally broken. Development in progress.</xsl:text>
214 </h3>
215 <li>
216 <h4>
217 <a href="ppc64">
218 <xsl:text>PowerPC64</xsl:text>
219 </a>
220 </h4>
221 </li>
[3f8be484]222 </ul>
223 </div>
224 </div>
225 </xsl:template>
226
227 <xsl:template match="title">
228 <div>
229 <h1 class="title">
230 <xsl:value-of select="."/>
231 </h1>
232 </div>
233 <div>
234 <h2 class="subtitle">
235 <xsl:text>Version &version;</xsl:text>
236 </h2>
237 </div>
238 </xsl:template>
239
240 <xsl:template match="authorgroup">
241 <div class="authorgroup">
242 <h3 class="author">
[e629d35]243 <xsl:value-of select="author[1]/firstname"/>
[3f8be484]244 <xsl:text> </xsl:text>
[e629d35]245 <xsl:value-of select="author[1]/surname"/>
246 </h3>
247 <h3 class="author">
248 <xsl:value-of select="author[2]/firstname"/>
249 <xsl:text> </xsl:text>
250 <xsl:value-of select="author[2]/surname"/>
[3f8be484]251 </h3>
252 </div>
253 </xsl:template>
254
255 <xsl:template match="copyright">
256 <div>
257 <p class="copyright">
258 <xsl:text>Copyright (c)</xsl:text>
259 <xsl:apply-templates/>
260 </p>
261 </div>
262 </xsl:template>
263
264 <xsl:template match="year">
265 <xsl:value-of select="."/>
266 </xsl:template>
267
268 <xsl:template match="holder">
269 <xsl:value-of select="."/>
270 </xsl:template>
271
[e629d35]272 <xsl:template match="bibliosource">
273 <div>
274 <p class="copyright">
275 <em>
276 <xsl:apply-templates/>
277 </em>
278 </p>
279 </div>
280 </xsl:template>
281
[3f8be484]282 <xsl:template match="subtitle|author|firstname|surname|legalnotice"/>
283
284</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.