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

« back to all changes in this revision

Viewing changes to xslt/docbook/html/db2html-css.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"
19
35
  <style>
20
36
    <xsl:call-template name="db2html.admon.css"/>
21
37
    <xsl:call-template name="db2html.autotoc.css"/>
 
38
    <xsl:call-template name="db2html.bibliography.css"/>
22
39
    <xsl:call-template name="db2html.block.css"/>
23
40
    <xsl:call-template name="db2html.callout.css"/>
24
41
    <xsl:call-template name="db2html.cmdsynopsis.css"/>
28
45
    <xsl:call-template name="db2html.table.css"/>
29
46
    <xsl:call-template name="db2html.title.css"/>
30
47
    body {
31
 
      padding-top: 8px;
32
 
      padding-left: 8px;
33
 
      padding-right: 12px;
 
48
      margin: 0px;
 
49
    }
 
50
    div[class ~= "body"] {
 
51
      padding: 12px;
 
52
    }
 
53
    div[class ~= "navbar"] {
 
54
      margin-left: 12px;
 
55
      margin-right: 12px;
 
56
      margin-bottom: 12px;
 
57
      padding: 6px;
 
58
      border: solid 1px;
 
59
    }
 
60
    div[class ~= "navbar-prev"] {
 
61
      margin: 0px;
 
62
      padding: 0px;
 
63
      float: left;
 
64
    }
 
65
    div[class ~= "navbar-prev-sans-next"] {
 
66
      float: none;
 
67
    }
 
68
    div[class ~= "navbar-next"] {
 
69
      margin: 0px;
 
70
      padding: 0px;
 
71
      text-align: right;
34
72
    }
35
73
    div {
36
74
      margin-top: 0em;  margin-bottom: 0em;
42
80
    }
43
81
    div + * { margin-top: 1em; }
44
82
    p   + * { margin-top: 1em; }
 
83
    p &gt; div { margin-top: 1em; margin-bottom: 1em; }
 
84
    p &gt; div + div { margin-top: 0em; }
45
85
    p { text-align: justify; }
46
86
    <xsl:call-template name="db2html.css.custom"/>
47
87
  </style>