aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2015-04-23 12:41:41 +0200
committerLars Thorsen <[email protected]>2015-05-08 08:24:55 +0200
commit7cf4678d532d0710f9f54ebdf46ce5acef09ca35 (patch)
tree3e33b78e784e09a1c0629cb7342e38541e13d99d /lib/erl_docgen
parent0646940dee4120bbff339351f1afd287acd8ef91 (diff)
downloadotp-7cf4678d532d0710f9f54ebdf46ce5acef09ca35.tar.gz
otp-7cf4678d532d0710f9f54ebdf46ce5acef09ca35.tar.bz2
otp-7cf4678d532d0710f9f54ebdf46ce5acef09ca35.zip
[erl_docgen] Update style for extra front page info
Diffstat (limited to 'lib/erl_docgen')
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css5
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl12
2 files changed, 14 insertions, 3 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index 2aae87a759..0b531db701 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -126,6 +126,11 @@ span.code { font-family: Courier, monospace; font-weight: normal }
background-color:#eeeeff;
padding: 0px 10px;
}
+.extrafrontpageinfo {
+ color: #C00;
+ font-weight: bold;
+ font-size: 120%;
+}
pre { font-family: Courier, monospace; font-weight: normal }
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index ee81914d1b..3529924957 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -1132,7 +1132,9 @@
<center><h4>Version <xsl:value-of select="$appver"/></h4></center>
<center><h4><xsl:value-of select="$gendate"/></h4></center>
- <center><h1><xsl:value-of select="$extra_front_page_info"/></h1></center>
+ <div class="extrafrontpageinfo">
+ <center><xsl:value-of select="$extra_front_page_info"/></center>
+ </div>
<xsl:apply-templates select="chapter"/>
@@ -1298,7 +1300,9 @@
<center><h4>Version <xsl:value-of select="$appver"/></h4></center>
<center><h4><xsl:value-of select="$gendate"/></h4></center>
- <center><h1><xsl:value-of select="$extra_front_page_info"/></h1></center>
+ <div class="extrafrontpageinfo">
+ <center><xsl:value-of select="$extra_front_page_info"/></center>
+ </div>
<xsl:apply-templates select="erlref|cref|comref|fileref|appref"/>
@@ -2121,7 +2125,9 @@
<center><h4>Version <xsl:value-of select="$appver"/></h4></center>
<center><h4><xsl:value-of select="$gendate"/></h4></center>
- <center><h1><xsl:value-of select="$extra_front_page_info"/></h1></center>
+ <div class="extrafrontpageinfo">
+ <center><xsl:value-of select="$extra_front_page_info"/></center>
+ </div>
<xsl:apply-templates select="chapter"/>