diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erl_docgen/priv/css/otp_doc.css | 13 | ||||
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 15 |
2 files changed, 20 insertions, 8 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 1ff9bcade2..cbeb1037a9 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -204,3 +204,16 @@ th { background-color: #777; color: #fefefe; } + +.section-title, .section-subtitle, .section-version{ + text-align: center; + margin: 0; +} + +.section-title{ + font-weight: bold; +} + +.section-version{ + font-size: small; +} diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index 529d28e88f..9f49fc31d5 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -809,7 +809,7 @@ </div> </xsl:otherwise> </xsl:choose> - <br/> + <ul class="panel-sections"> <xsl:if test="boolean(/book/parts/part)"> <li><a href="users_guide.html">User's Guide</a></li> @@ -845,7 +845,6 @@ </xsl:when> </xsl:choose> </small --> - <br/> <ul class="expand-collapse-items"> <li><a href="javascript:openAllFlips()">Expand All</a></li> @@ -1252,12 +1251,12 @@ <div id="leftnav"> <div class="innertube"> - <xsl:call-template name="menu_top"/> - <p class="section-title"><xsl:value-of select="/book/header/title"/></p> <p class="section-subtitle">User's Guide</p> <p class="section-version">Version <xsl:value-of select="$appver"/></p> + <xsl:call-template name="menu_top"/> + <xsl:call-template name="menu_middle"/> <h3>Chapters</h3> @@ -1411,12 +1410,12 @@ <div id="leftnav"> <div class="innertube"> - <xsl:call-template name="menu_top"/> - <p class="section-title"><xsl:value-of select="/book/header/title"/></p> <p class="section-subtitle">Reference Manual</p> <p class="section-version">Version <xsl:value-of select="$appver"/></p> + <xsl:call-template name="menu_top"/> + <xsl:call-template name="menu_middle"/> <h3>Table of Contents</h3> @@ -2252,12 +2251,12 @@ <div id="leftnav"> <div class="innertube"> - <xsl:call-template name="menu_top"/> - <p class="section-title"><xsl:value-of select="/book/header/title"/></p> <p class="section-subtitle">Release Notes</p> <p class="section-version">Version <xsl:value-of select="$appver"/></p> + <xsl:call-template name="menu_top"/> + <xsl:call-template name="menu_middle"/> <h3>Chapters</h3> |