From: des Date: Fri, 24 Feb 2006 15:01:14 +0000 (+0000) Subject: Lightweight XSL stylesheet for transforming DocBook XML to XHTML, with X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c300741f497f5c87eedee4ca804752379d86c8e2;p=varnish Lightweight XSL stylesheet for transforming DocBook XML to XHTML, with accompanying CSS stylesheet. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@26 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-doc/share/docbook-html.css b/varnish-doc/share/docbook-html.css new file mode 100644 index 00000000..b9011bd6 --- /dev/null +++ b/varnish-doc/share/docbook-html.css @@ -0,0 +1,45 @@ +/* $Id$ */ + +body { + margin: 1in; + background-color: white; + color: black; +} + +h1.book-title { + font-size: 200%; + font-weight: bold; +} + +h1.article-title { + font-size: 200%; + font-weight: bold; +} + +span.title1 { + color: maroon; + font-weight: bold; + font-size: xx-large; +} + +span.title2 { + color: maroon; + font-weight: bold; + font-size: x-large; +} + +span.title3 { + color: maroon; + font-weight: bold; + font-size: large; +} + +span.title4 { + color: maroon; + font-weight: bold; +} + +span.title5 { + color: maroon; + font-weight: bold; +} diff --git a/varnish-doc/share/docbook-html.xsl b/varnish-doc/share/docbook-html.xsl new file mode 100644 index 00000000..8ffd1e6d --- /dev/null +++ b/varnish-doc/share/docbook-html.xsl @@ -0,0 +1,156 @@ + + + + + + + + + + + <xsl:call-template name="book-title"/> + + + + +

+ +

+ + + +
+ + + + + + <xsl:call-template name="article-title"/> + + + + +

+ +

+ + + +
+ + + +
+ + + +
+
+ + + +
+ + + +
+
+ + + +
+ + + +
+
+ + + +
+ + + +
+
+ + + + + + + + + + + Unnamed DocBook Article + + + + + + + + + + + + + + Unnamed DocBook Book + + + + + + + + + + + + + + + +
    + +
+
+ + +
    + +
+
+ + +
  • + +
  • +
    + + +

    + +

    +
    + + + + + + + +