aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl
diff options
context:
space:
mode:
authorMariano Guerra <[email protected]>2016-10-21 16:41:10 +0100
committerMariano Guerra <[email protected]>2017-03-13 11:51:52 +0100
commit224a1977ac4efc77078adc8490a396805a3dd270 (patch)
tree55c9e4bb0c1a84e6955c2ef06e244ca608e1e072 /lib/erl_docgen/priv/xsl
parent298a7e6af185fecc01063a53e35ced4d5a00484a (diff)
downloadotp-224a1977ac4efc77078adc8490a396805a3dd270.tar.gz
otp-224a1977ac4efc77078adc8490a396805a3dd270.tar.bz2
otp-224a1977ac4efc77078adc8490a396805a3dd270.zip
improve table styling
Diffstat (limited to 'lib/erl_docgen/priv/xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index bdfd839cad..529d28e88f 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -1135,7 +1135,8 @@
<xsl:variable name="tabnum">
<xsl:number level="any" from="chapter" count="table"/>
</xsl:variable>
- <table border="1" cellpadding="2" cellspacing="0">
+ <div class="doc-table-wrapper">
+ <table class="doc-table">
<!-- tbody-->
<xsl:apply-templates select="row">
<xsl:with-param name="chapnum" select="$chapnum"/>
@@ -1147,6 +1148,7 @@
<xsl:with-param name="chapnum" select="$chapnum"/>
<xsl:with-param name="tabnum" select="$tabnum"/>
</xsl:apply-templates>
+ </div>
</xsl:template>
<xsl:template match="row">
@@ -1166,11 +1168,11 @@
<xsl:param name="chapnum"/>
<xsl:param name="tabnum"/>
- <em>Table
+ <p class="doc-table-caption">Table
<xsl:value-of select="$chapnum"/>.<xsl:value-of select="$tabnum"/>:
&#160;
<xsl:apply-templates/>
- </em>
+ </p>
</xsl:template>