diff options
Diffstat (limited to 'lib/erl_docgen/priv')
-rw-r--r-- | lib/erl_docgen/priv/css/otp_doc.css | 5 | ||||
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index aec2207ecd..6f0019fb32 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -145,3 +145,8 @@ pre { font-family: mono, Courier, monospace; font-weight: normal } .REFTYPES { margin-left: 8mm } footer { } + +.erlang-logo-wrapper{ + text-align: center; + margin-bottom: 1em; +} diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index edab8e1c7e..beb52c69c1 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -799,10 +799,14 @@ <xsl:template name="menu_top"> <xsl:choose> <xsl:when test="string-length($logo) > 0"> - <img alt="Erlang logo" src="{$topdocdir}/{$logo}"/> + <div class="erlang-logo-wrapper"> + <img alt="Erlang Logo" src="{$topdocdir}/{$logo}" class="erlang-logo"/> + </div> </xsl:when> <xsl:otherwise> - <img alt="Erlang logo" src="{$topdocdir}/erlang-logo.png"/> + <div class="erlang-logo-wrapper"> + <img alt="Erlang Logo" src="{$topdocdir}/erlang-logo.png" class="erlang-logo"/> + </div> </xsl:otherwise> </xsl:choose> <br/> |