source: BOOK/stylesheets/top-index.xsl@ e9262cf6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e9262cf6 was d258427, checked in by Jim Gifford <clfs@…>, 16 years ago

Second Commit for Native Build

  • Property mode set to 100644
File size: 5.6 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>
[abdbe76]17 Cross-Compiled Linux From Scratch
[3f8be484]18 </title>
19 <style type="text/css">
20 <xsl:text>
[de64fc88]21/* Global settings */
[3f8be484]22body {
[de64fc88]23 font-family: verdana, tahoma, helvetica, arial, sans-serif;
[3f8be484]24 text-align: left;
25 background: #fff;
[de64fc88]26 color: #222;
[3f8be484]27 margin: 1em;
28 padding: 0;
29 font-size: 1em;
30 line-height: 1.2em
31}
32
33a:link { color: #22b; }
[de64fc88]34a.ulink:link { font-weight: bold; color: #55f; }
35a:visited { color: #7e4988 ! important; }
36a:hover, a:focus { color: #d30e08 ! important; }
37a:active { color: #6b77b1 ! important;}
[3f8be484]38
[de64fc88]39h1, h2 h3, h4 {
[3f8be484]40 color: #000;
41 font-weight: bold;
[de64fc88]42 line-height: 1em;
[3f8be484]43}
44
45h1 { font-size: 173%; text-align: center; }
[de64fc88]46h2 { font-size: 144%; text-align: center; }
47h3 { font-size: 120%; }
48h4 { font-size: 110%; }
[3f8be484]49
[de64fc88]50.toc {
[3f8be484]51 padding-left: 1em;
52}
53
[de64fc88]54.toc ul li h3, .toc ul li h4 {
[3f8be484]55 margin: .4em;
56}
57
[de64fc88]58.book h1 {
[3f8be484]59 background: #f5f6f7;
60 margin: 0px auto;
61 padding: 0.5em;
62}
63
[de64fc88]64.book h2 {
[3f8be484]65 background: #dbddec;
66 margin: 0px auto;
67 padding: 0.2em;
68}
[de64fc88]69.author, .copyright {
[3f8be484]70 background: #f5f6f7;
71 margin: 0px auto;
[de64fc88]72 padding: 0.5em 1em;
[3f8be484]73}
74
75hr {
76 background: #dbddec;
77 height: .3em;
78 border: 0px;
79 margin: 0px auto;
80 padding: 0;
81}
82 </xsl:text>
83 </style>
84 </head>
85 <body>
86 <xsl:apply-templates/>
87 </body>
88 </html>
89 </xsl:template>
90
91 <xsl:template match="bookinfo">
92 <div class="book">
93 <div class="titlepage">
94 <xsl:apply-templates/>
95 <hr/>
96 </div>
97 <div class="toc">
[43f755b]98 <h3>
99 <xsl:text>Native Build</xsl:text>
100 </h3>
101 <ul>
102 <h3>
103 <xsl:text>Work in Progress.</xsl:text>
104 </h3>
105 <li>
106 <h4>
107 <a href="native">
[d258427]108 <xsl:text>Native 32Bit</xsl:text>
109 </a>
110 </h4>
111 </li>
112 <li>
113 <h4>
114 <a href="native64">
115 <xsl:text>Native Multilib</xsl:text>
[43f755b]116 </a>
117 </h4>
118 </li>
119 </ul>
[3f8be484]120 <h3>
121 <xsl:text>32 Bit Builds</xsl:text>
122 </h3>
123 <ul>
124 <h3>
125 <xsl:text>Working. Testers and comments welcomed.</xsl:text>
126 </h3>
127 <li>
128 <h4>
129 <a href="x86">
130 <xsl:text>Intel/AMD x86</xsl:text>
131 </a>
132 </h4>
133 </li>
134 <li>
135 <h4>
136 <a href="ppc">
137 <xsl:text>PowerPC</xsl:text>
138 </a>
139 </h4>
140 </li>
141 <li>
142 <h4>
143 <a href="mips">
144 <xsl:text>MIPS</xsl:text>
145 </a>
146 </h4>
147 </li>
148 <li>
149 <h4>
150 <a href="sparc">
[0e47947]151 <xsl:text>Sparc v8</xsl:text>
[3f8be484]152 </a>
153 </h4>
154 </li>
155 </ul>
156 <h3>
157 <xsl:text>64 Bit Builds</xsl:text>
158 </h3>
159 <ul>
160 <h3>
[5acad79]161 <xsl:text>Working. Testers and comments welcomed.</xsl:text>
[3f8be484]162 </h3>
163 <li>
164 <h4>
165 <a href="x86_64-64">
166 <xsl:text>x86_64</xsl:text>
167 </a>
168 </h4>
169 </li>
170 <li>
171 <h4>
172 <a href="mips64-64">
173 <xsl:text>MIPS</xsl:text>
174 </a>
175 </h4>
176 </li>
177 <li>
178 <h4>
179 <a href="sparc64-64">
[0e47947]180 <xsl:text>Sparc v9/Ultrasparc</xsl:text>
[3f8be484]181 </a>
182 </h4>
183 </li>
184 <li>
185 <h4>
186 <a href="alpha">
187 <xsl:text>Alpha</xsl:text>
188 </a>
189 </h4>
190 </li>
191 </ul>
192 <h3>
193 <xsl:text>Multilib Builds</xsl:text>
194 </h3>
195 <ul>
196 <h3>
197 <xsl:text>Working. Testers and comments welcomed.</xsl:text>
198 </h3>
199 <li>
200 <h4>
201 <a href="x86_64">
202 <xsl:text>x86_64</xsl:text>
203 </a>
204 </h4>
205 </li>
206 <li>
207 <h4>
208 <a href="mips64">
209 <xsl:text>MIPS</xsl:text>
210 </a>
211 </h4>
212 </li>
213 <li>
214 <h4>
215 <a href="sparc64">
[0e47947]216 <xsl:text>Sparc v9/Ultrasparc</xsl:text>
[3f8be484]217 </a>
218 </h4>
219 </li>
[d49b9e8]220 <li>
221 <h4>
222 <a href="ppc64">
223 <xsl:text>PowerPC64</xsl:text>
224 </a>
225 </h4>
226 </li>
[3f8be484]227 </ul>
228 </div>
229 </div>
230 </xsl:template>
231
232 <xsl:template match="title">
[de64fc88]233 <h1 class="title">
234 <xsl:value-of select="."/>
235 </h1>
236 <h2 class="subtitle">
237 <xsl:text>Version &version;</xsl:text>
238 </h2>
[3f8be484]239 </xsl:template>
240
241 <xsl:template match="copyright">
[de64fc88]242 <p class="copyright">
243 <xsl:text>Copyright ©</xsl:text>
244 <xsl:apply-templates/>
245 </p>
[3f8be484]246 </xsl:template>
247
248 <xsl:template match="year">
249 <xsl:value-of select="."/>
250 </xsl:template>
251
252 <xsl:template match="holder">
253 <xsl:value-of select="."/>
254 </xsl:template>
255
[e629d35]256 <xsl:template match="bibliosource">
[de64fc88]257 <p class="copyright">
258 <em>
259 <xsl:apply-templates/>
260 </em>
261 </p>
[e629d35]262 </xsl:template>
263
[3f8be484]264 <xsl:template match="subtitle|author|firstname|surname|legalnotice"/>
265
266</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.