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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d677641 was a96ae38, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Comment out the native books in the top level stylesheet.

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