summaryrefslogtreecommitdiff
blob: eb96ba8ef2ab9e602a476fd8bef4440a5421bd16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0"?>
<xsl:stylesheet
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:docbook="http://docbook.org/ns/docbook"
	version="1.0">

<xsl:import href="http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/chunktoc.xsl" />


<!-- List of the configurable parameters -->
<xsl:param name="baseuri"></xsl:param>
<xsl:param name="theme-name">web/</xsl:param>
<xsl:param name="css-path">css/</xsl:param>
<xsl:param name="js-path">js/</xsl:param>
<xsl:param name="images-path">images/</xsl:param>

<xsl:template name="user.head.content">
	<!-- Include the reset Style Sheet
	     The main purposes of a reset stylesheet is to reduce browser
	     inconsistencies in things like default line heights, margins
	     and font sizes of headings, and so on. -->
	<link rel="stylesheet" type="text/css">
		<xsl:attribute name="href">
			<xsl:value-of select="$baseuri" />
			<xsl:text>stylesheets/</xsl:text>
			<xsl:value-of select="$theme-name" />
			<xsl:value-of select="$css-path" />
			<xsl:text>reset.css</xsl:text>
		</xsl:attribute>
	</link>

	<!-- Include the main Style Sheet
	     -->
	<link rel="stylesheet" type="text/css">
		<xsl:attribute name="href">
			<xsl:value-of select="$baseuri" />
			<xsl:text>stylesheets/</xsl:text>
			<xsl:value-of select="$theme-name" />
			<xsl:value-of select="$css-path" />
			<xsl:text>style.css</xsl:text>
		</xsl:attribute>
	</link>

	<!-- Include the typefacing Style Sheet
	     The main purposes of a typefacing stylesheet is to apply
	     fonts, typography metric and proportions. -->
	<link rel="stylesheet" type="text/css">
		<xsl:attribute name="href">
			<xsl:value-of select="$baseuri" />
			<xsl:text>stylesheets/</xsl:text>
			<xsl:value-of select="$theme-name" />
			<xsl:value-of select="$css-path" />
			<xsl:text>typefacing.css</xsl:text>
		</xsl:attribute>
	</link>

	<!-- Include the grid Style Sheet
	     -->
	<link rel="stylesheet" type="text/css">
		<xsl:attribute name="href">
			<xsl:value-of select="$baseuri" />
			<xsl:text>stylesheets/</xsl:text>
			<xsl:value-of select="$theme-name" />
			<xsl:value-of select="$css-path" />
			<xsl:text>grid.css</xsl:text>
		</xsl:attribute>
	</link>
</xsl:template>

<xsl:template name="user.footer.navigation">

	<!-- Include latest versione of jQuery -->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" />

	<!-- Include hashgrid script (http://hashgrid.com)
	     -->
	<script type="text/javascript">
		<xsl:attribute name="src">
			<xsl:value-of select="$baseuri" />
			<xsl:text>stylesheets/</xsl:text>
			<xsl:value-of select="$theme-name" />
			<xsl:value-of select="$js-path" />
			<xsl:text>hashgrid.js</xsl:text>
		</xsl:attribute>
	</script>
</xsl:template>

</xsl:stylesheet>