summaryrefslogtreecommitdiff
path: root/manual/xsl
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2007-02-03 10:55:10 +0000
committerTim Mayberry <mojofunk@gmail.com>2007-02-03 10:55:10 +0000
commit249cb20c23d8ddb25e9e1e287b4c1e634289cab7 (patch)
treeb3a431e341e96d003f470a52e5b5e045a38d6907 /manual/xsl
parentf425f319bab36d25cb398b2295388caf3ecf9d8e (diff)
Add some css and an xsl transformation to make the admonitions look much better.
Add css to adjust the width, padding and borders of the table. Add a manual_style.svg file that I was using to compare colors etc, might come in handy. git-svn-id: svn://localhost/ardour2/trunk@1419 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'manual/xsl')
-rw-r--r--manual/xsl/html.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/manual/xsl/html.xsl b/manual/xsl/html.xsl
index 974c11becd..80a0a7772a 100644
--- a/manual/xsl/html.xsl
+++ b/manual/xsl/html.xsl
@@ -88,4 +88,16 @@ section toc
part toc
</xsl:param>
+<xsl:template name="nongraphical.admonition">
+ <div class="{name(.)}">
+ <h2 class="title">
+ <xsl:call-template name="anchor"/>
+ <xsl:if test="$admon.textlabel != 0 or title">
+ <xsl:apply-templates select="." mode="object.title.markup"/>
+ </xsl:if>
+ </h2>
+ <xsl:apply-templates/>
+ </div>
+</xsl:template>
+
</xsl:stylesheet>