source: clfs-sysroot/BOOK/stylesheets/top-index.xsl@ 4a44983

Last change on this file since 4a44983 was 7c1c987, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated top-index.xsl.

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[02095ae]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>
[3afa7f7]17 Cross-Compiled Linux From Scratch - Sysroot
[02095ae]18 </title>
19 <style type="text/css">
20 <xsl:text>
[7c1c987]21/* Global settings */
[02095ae]22body {
[7c1c987]23 font-family: verdana, tahoma, helvetica, arial, sans-serif;
[02095ae]24 text-align: left;
25 background: #fff;
[7c1c987]26 color: #222;
[02095ae]27 margin: 1em;
28 padding: 0;
29 font-size: 1em;
30 line-height: 1.2em
31}
32
33a:link { color: #22b; }
[7c1c987]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;}
[02095ae]38
[7c1c987]39h1, h2 h3, h4 {
[02095ae]40 color: #000;
41 font-weight: bold;
[7c1c987]42 line-height: 1em;
[02095ae]43}
44
45h1 { font-size: 173%; text-align: center; }
[7c1c987]46h2 { font-size: 144%; text-align: center; }
47h3 { font-size: 120%; }
48h4 { font-size: 110%; }
[02095ae]49
[7c1c987]50.toc {
[02095ae]51 padding-left: 1em;
52}
53
[7c1c987]54.toc ul li h3, .toc ul li h4 {
[02095ae]55 margin: .4em;
56}
57
[7c1c987]58.book h1 {
[02095ae]59 background: #f5f6f7;
60 margin: 0px auto;
61 padding: 0.5em;
62}
63
[7c1c987]64.book h2 {
[02095ae]65 background: #dbddec;
66 margin: 0px auto;
67 padding: 0.2em;
68}
[7c1c987]69.author, .copyright {
[02095ae]70 background: #f5f6f7;
71 margin: 0px auto;
[7c1c987]72 padding: 0.5em 1em;
[02095ae]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>
[da9613e]99 <xsl:text>32 Bit Builds (Under Development)</xsl:text>
[02095ae]100 </h3>
101 <ul>
102 <li>
103 <h4>
104 <a href="arm">
105 <xsl:text>ARM</xsl:text>
106 </a>
107 </h4>
108 </li>
[da9613e]109 <li>
110 <h4>
111 <a href="x86">
112 <xsl:text>X86</xsl:text>
113 </a>
114 </h4>
115 </li>
[12e7efe2]116 <li>
117 <h4>
118 <a href="hppa">
119 <xsl:text>PA-RISC</xsl:text>
120 </a>
121 </h4>
122 </li>
[02095ae]123 </ul>
[c78de1a]124 <h3>
125 <xsl:text>64 Bit Builds (Under Development)</xsl:text>
126 </h3>
127 <ul>
128 <li>
129 <h4>
130 <a href="alpha">
131 <xsl:text>Alpha</xsl:text>
132 </a>
133 </h4>
134 </li>
135 </ul>
[02095ae]136 </div>
137 </div>
138 </xsl:template>
139
140 <xsl:template match="title">
[7c1c987]141 <h1 class="title">
142 <xsl:value-of select="."/>
143 </h1>
144 <h2 class="subtitle">
145 <xsl:text>Version &version;</xsl:text>
146 </h2>
[02095ae]147 </xsl:template>
148
149 <xsl:template match="authorgroup">
[7c1c987]150 <h3 class="author">
151 <xsl:value-of select="author[1]/firstname"/>
152 <xsl:text> </xsl:text>
153 <xsl:value-of select="author[1]/surname"/>
154 </h3>
155 <h3 class="author">
156 <xsl:value-of select="author[2]/firstname"/>
157 <xsl:text> </xsl:text>
158 <xsl:value-of select="author[2]/surname"/>
159 </h3>
160 <h3 class="author">
161 <xsl:value-of select="author[3]/firstname"/>
162 <xsl:text> </xsl:text>
163 <xsl:value-of select="author[3]/surname"/>
164 </h3>
[02095ae]165 </xsl:template>
166
167 <xsl:template match="copyright">
[7c1c987]168 <p class="copyright">
169 <xsl:text>Copyright ©</xsl:text>
170 <xsl:apply-templates/>
171 </p>
[02095ae]172 </xsl:template>
173
174 <xsl:template match="year">
175 <xsl:value-of select="."/>
176 </xsl:template>
177
178 <xsl:template match="holder">
179 <xsl:value-of select="."/>
180 </xsl:template>
181
182 <xsl:template match="bibliosource">
[7c1c987]183 <p class="copyright">
184 <em>
185 <xsl:apply-templates/>
186 </em>
187 </p>
[02095ae]188 </xsl:template>
189
190 <xsl:template match="subtitle|author|firstname|surname|legalnotice"/>
191
192</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.