~ubuntu-branches/ubuntu/lucid/gnome-doc-utils/lucid

« back to all changes in this revision

Viewing changes to xslt/docbook/html/db2html-title.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-19 08:34:21 UTC
  • mto: (2.1.1 etch) (1.1.18 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051219083421-k72rkh3n6vox1c0t
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='utf-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
2
<!--
 
3
This program is free software; you can redistribute it and/or modify it under
 
4
the terms of the GNU Lesser General Public License as published by the Free
 
5
Software Foundation; either version 2 of the License, or (at your option) any
 
6
later version.
 
7
 
 
8
This program is distributed in the hope that it will be useful, but WITHOUT
 
9
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
10
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 
11
details.
 
12
 
 
13
You should have received a copy of the GNU Lesser General Public License
 
14
along with this program; see the file COPYING.LGPL.  If not, write to the
 
15
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
16
02111-1307, USA.
 
17
-->
2
18
 
3
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
20
                xmlns:doc="http://www.gnome.org/~shaunm/xsldoc"
20
36
 
21
37
<xsl:template name="db2html.title.css">
22
38
  <xsl:text>
23
 
    h1 { font-size: 1.6em; margin-top: 0em; }
24
 
    h2 { font-size: 1.4em; }
25
 
    h2[class~="title"] { margin-top: 3em; border-bottom: solid 1px; }
 
39
    h1 { font-size: 1.72em; margin-top: 0em; }
 
40
    h2 { font-size: 1.44em; }
 
41
    h2[class~="title"] { margin-top: 1.72em; border-bottom: solid 1px; }
26
42
 
27
43
    h3                      { font-size: 1.2em; }
28
 
    h3[class~="title"]      { margin-top: 2em; }
 
44
    h3[class~="title"]      { margin-top: 1.72em; }
29
45
    h3 span[class~="title"] { border-bottom: solid 1px; }
30
46
 
31
47
    h4                      { font-size: 1.0em; }
32
 
    h4[class~="title"]      { margin-top: 1.5em; }
 
48
    h4[class~="title"]      { margin-top: 1.44em; }
33
49
    h4 span[class~="title"] { border-bottom: solid 1px; }
34
50
 
35
51
    h5 { font-size: 1em; margin-top: 1em; }
36
52
    h6 { font-size: 1em; margin-top: 1em; }
37
53
    h7 { font-size: 1em; margin-top: 1em; }
38
 
 
39
 
    div[class~="title"] { margin-bottom: 0em; }
40
 
    div[class~="title"] + * { margin-top: 0em; }
41
54
  </xsl:text>
42
55
</xsl:template>
43
56