diff options
-rw-r--r-- | lib/erl_docgen/priv/css/otp_doc.css | 1 | ||||
-rw-r--r-- | system/doc/top/templates/index.html.src | 16 |
2 files changed, 11 insertions, 6 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index ed5b8d5180..b1d18b09d5 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -131,6 +131,7 @@ span.code { font-family: mono, Courier, monospace; white-space: pre; font background-color:#f1f3f5; border: 1px solid #dee2e6; padding: 0.5em 1em; + margin: 1em 0; } .extrafrontpageinfo { color: #C00; diff --git a/system/doc/top/templates/index.html.src b/system/doc/top/templates/index.html.src index 951b3a79fe..bfc0ba9f51 100644 --- a/system/doc/top/templates/index.html.src +++ b/system/doc/top/templates/index.html.src @@ -37,12 +37,16 @@ limitations under the License. <div class="erlang-logo-wrapper"> <img alt="Erlang Logo" src="erlang-logo.png" class="erlang-logo"/ > </div> -<small><a href="applications.html">Applications</a><br> -<a href="man_index.html">Modules</a></small> -<p/> -<a href="javascript:openAllFlips()">Expand All</a><br> -<a href="javascript:closeAllFlips()">Contract All</a> -<p/> + + <ul> + <li><a href="applications.html">Applications</a></li> + <li><a href="man_index.html">Modules</a></li> + </ul> + + <ul class="expand-collapse-items"> + <li><a href="javascript:openAllFlips()">Expand All</a></li> + <li><a href="javascript:closeAllFlips()">Contract All</a></li> + </ul> <ul class="flipMenu"> <li>System Documentation |