add --shared
[pylucene.git] / lucene-java-3.4.0 / lucene / src / site / src / documentation / skins / common / css / forrest.css.xslt
1 <?xml version="1.0"?>
2 <!--
3   Licensed to the Apache Software Foundation (ASF) under one or more
4   contributor license agreements.  See the NOTICE file distributed with
5   this work for additional information regarding copyright ownership.
6   The ASF licenses this file to You under the Apache License, Version 2.0
7   (the "License"); you may not use this file except in compliance with
8   the License.  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   If the skin doesn't override this, at least aural styles 
24   and extra-css are present 
25 -->
26   <xsl:template match="skinconfig">
27     <xsl:call-template name="aural"/>
28     <xsl:call-template name="a-external"/>
29     <xsl:apply-templates/>
30     <xsl:call-template name="add-extra-css"/>
31   </xsl:template>
32   <xsl:template match="colors">
33     <xsl:apply-templates/>
34   </xsl:template>
35   <xsl:template name="aural">
36
37 /* ==================== aural ============================ */
38
39 @media aural {
40   h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
41   h1 { pitch: x-low; pitch-range: 90 }
42   h2 { pitch: x-low; pitch-range: 80 }
43   h3 { pitch: low; pitch-range: 70 }
44   h4 { pitch: medium; pitch-range: 60 }
45   h5 { pitch: medium; pitch-range: 50 }
46   h6 { pitch: medium; pitch-range: 40 }
47   li, dt, dd { pitch: medium; richness: 60 }
48   dt { stress: 80 }
49   pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
50   em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
51   strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
52   dfn { pitch: high; pitch-range: 60; stress: 60 }
53   s, strike { richness: 0 }
54   i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
55   b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
56   u { richness: 0 }
57   
58   :link { voice-family: harry, male }
59   :visited { voice-family: betty, female }
60   :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
61 }
62   </xsl:template>
63   <xsl:template name="a-external">
64 a.external  {
65   padding: 0 20px 0px 0px;
66         display:inline;
67   background-repeat: no-repeat;
68         background-position: center right;
69         background-image: url(images/external-link.gif);
70 }
71   </xsl:template>
72   <xsl:template name="add-extra-css">
73 <xsl:text>/* extra-css */</xsl:text>
74     <xsl:value-of select="extra-css"/>
75   </xsl:template>
76   <xsl:template match="*"></xsl:template>
77   <xsl:template match="text()"></xsl:template>
78 </xsl:stylesheet>