source: BOOK/stylesheets/top-index.xsl @ 34f7e3e

clfs-3.0.0-systemdsystemd
Last change on this file since 34f7e3e was 34f7e3e, checked in by Chris Staub <chris@…>, 10 years ago

Removed unneeded text

  • Property mode set to 100644
File size: 4.8 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        <h3>
99          <xsl:text>32 Bit Builds</xsl:text>
100        </h3>
101        <ul>
102          <li>
103            <h4>
104              <a href="x86">
105                <xsl:text>Intel/AMD x86</xsl:text>
106              </a>
107            </h4>
108          </li>
109          <li>
110            <h4>
111              <a href="mips">
112                <xsl:text>MIPS</xsl:text>
113              </a>
114            </h4>
115          </li>
116          <li>
117            <h4>
118              <a href="ppc">
119                <xsl:text>PowerPC</xsl:text>
120              </a>
121            </h4>
122          </li>
123          <li>
124            <h4>
125              <a href="sparc">
126                <xsl:text>Sparc v8</xsl:text>
127              </a>
128            </h4>
129          </li>
130        </ul>
131        <h3>
132          <xsl:text>64 Bit Builds</xsl:text>
133        </h3>
134        <ul>
135          <li>
136            <h4>
137              <a href="x86_64-64">
138                <xsl:text>x86_64</xsl:text>
139              </a>
140            </h4>
141          </li>
142          <li>
143            <h4>
144              <a href="mips64-64">
145                <xsl:text>MIPS</xsl:text>
146              </a>
147            </h4>
148          </li>
149          <li>
150            <h4>
151              <a href="ppc64-64">
152                <xsl:text>PowerPC64</xsl:text>
153              </a>
154            </h4>
155          </li>
156          <li>
157            <h4>
158             <a href="sparc64-64">
159                <xsl:text>Sparc v9/Ultrasparc</xsl:text>
160             </a>
161            </h4>
162          </li>
163        </ul>
164        <h3>
165          <xsl:text>Multilib Builds</xsl:text>
166        </h3>
167        <ul>
168          <li>
169            <h4>
170              <a href="x86_64">
171                <xsl:text>x86_64</xsl:text>
172              </a>
173            </h4>
174          </li>
175          <li>
176            <h4>
177              <a href="mips64">
178                <xsl:text>MIPS</xsl:text>
179              </a>
180            </h4>
181          </li>
182          <li>
183            <h4>
184              <a href="ppc64">
185                <xsl:text>PowerPC64</xsl:text>
186              </a>
187            </h4>
188          </li>
189          <li>
190            <h4>
191             <a href="sparc64">
192                <xsl:text>Sparc v9/Ultrasparc</xsl:text>
193             </a>
194            </h4>
195          </li>
196        </ul>
197      </div>
198    </div>
199  </xsl:template>
200
201  <xsl:template match="title">
202    <h1 class="title">
203      <xsl:value-of select="."/>
204    </h1>
205    <h2 class="subtitle">
206      <xsl:text>Version &version;</xsl:text>
207    </h2>
208  </xsl:template>
209
210  <xsl:template match="copyright">
211    <p class="copyright">
212      <xsl:text>Copyright ©</xsl:text>
213      <xsl:apply-templates/>
214    </p>
215  </xsl:template>
216
217  <xsl:template match="year">
218    <xsl:value-of select="."/>
219  </xsl:template>
220
221  <xsl:template match="holder">
222    <xsl:value-of select="."/>
223  </xsl:template>
224
225  <xsl:template match="bibliosource">
226    <p class="copyright">
227      <em>
228        <xsl:apply-templates/>
229      </em>
230    </p>
231  </xsl:template>
232
233  <xsl:template match="subtitle|author|firstname|surname|legalnotice"/>
234
235</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.