forked from smu-libraries/alma_letters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.xsl
74 lines (70 loc) · 1.64 KB
/
style.xsl
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
<?xml version="1.0" encoding="utf-8"?>
<!--
Modified on 20151222 by Wee Hiong
1. Insert style for contact information in the header.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="generalStyle">
<style>
body {
background-color: #fff
}
.listing td {
border-bottom: 1px solid #eee
}
.listing tr:hover td {
background-color: #eee
}
.listing th {
background-color: #f5f5f5
}
h4 {
line-height: 0.2em
}
</style>
</xsl:template>
<xsl:template name="bodyStyleCss">
font-family: arial;
color: #333;
margin: 0;
padding: 0;
font-size: 80%
</xsl:template>
<xsl:template name="listStyleCss">
list-style: none;
margin: 0 0 0 1em;
padding: 0
</xsl:template>
<xsl:template name="headerContactInfoStyleCss">
list-style: none;
margin: 0 0 0 1em;
padding: 0;
font-size: 80%;
line-height: 85%;
color: #666
</xsl:template>
<xsl:template name="mainTableStyleCss">
width: 100%;
text-align: left
</xsl:template>
<xsl:template name="headerLogoStyleCss">
background-color: #ffffff;
width: 100%
</xsl:template>
<xsl:template name="headerTableStyleCss">
background-color: #e9e9e9;
width: 100%;
height: 30px;
text-shadow: 1px 1px 1px #fff
</xsl:template>
<xsl:template name="footerTableStyleCss">
background-color: #444;
width: 100%;
text-shadow: 1px 1px 1px #333;
color: #fff;
margin-top: 1em;
font-weight: 700;
line-height: 2em;
font-size: 150%
</xsl:template>
</xsl:stylesheet>