/[debian]/libjempbox-java/branches/upstream/current/docs/skin/forrest.css.xslt
ViewVC logotype

Contents of /libjempbox-java/branches/upstream/current/docs/skin/forrest.css.xslt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 427 - (show annotations)
Fri Nov 17 21:04:18 2006 UTC (14 years, 8 months ago) by gregoa
File size: 2980 byte(s)
[svn-inject] Installing original source of libjempbox-java
1 <?xml version="1.0"?>
2 <!--
3 Copyright 2002-2004 The Apache Software Foundation or its licensors,
4 as applicable.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
19 <!-- This is not used by Forrest but makes it possible to debug the
20 stylesheet in standalone editors -->
21 <xsl:output method = "text" omit-xml-declaration="yes" />
22
23 <!--
24 If the skin doesn't override this, at least aural styles
25 and extra-css are present
26 -->
27 <xsl:template match="skinconfig">
28
29 <xsl:call-template name="aural"/>
30 <xsl:call-template name="a-external"/>
31 <xsl:apply-templates/>
32 <xsl:call-template name="add-extra-css"/>
33 </xsl:template>
34
35 <xsl:template match="colors">
36 <xsl:apply-templates/>
37 </xsl:template>
38
39 <xsl:template name="aural">
40
41 /* ==================== aural ============================ */
42
43 @media aural {
44 h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
45 h1 { pitch: x-low; pitch-range: 90 }
46 h2 { pitch: x-low; pitch-range: 80 }
47 h3 { pitch: low; pitch-range: 70 }
48 h4 { pitch: medium; pitch-range: 60 }
49 h5 { pitch: medium; pitch-range: 50 }
50 h6 { pitch: medium; pitch-range: 40 }
51 li, dt, dd { pitch: medium; richness: 60 }
52 dt { stress: 80 }
53 pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
54 em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
55 strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
56 dfn { pitch: high; pitch-range: 60; stress: 60 }
57 s, strike { richness: 0 }
58 i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
59 b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
60 u { richness: 0 }
61
62 :link { voice-family: harry, male }
63 :visited { voice-family: betty, female }
64 :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
65 }
66 </xsl:template>
67
68 <xsl:template name="a-external">
69 a.external {
70 padding: 0 20px 0px 0px;
71 display:inline;
72 background-repeat: no-repeat;
73 background-position: center right;
74 background-image: url(images/external-link.gif);
75 }
76 </xsl:template>
77
78 <xsl:template name="add-extra-css">
79 <xsl:text>/* extra-css */</xsl:text>
80 <xsl:value-of select="extra-css"/>
81 </xsl:template>
82
83 <xsl:template match="*"></xsl:template>
84 <xsl:template match="text()"></xsl:template>
85
86 </xsl:stylesheet>

  ViewVC Help
Powered by ViewVC 1.1.26