File 2714-use-list-on-list-of-links.patch of Package erlang
From 6be6bb8a81d875ddb7cbe5c19766d7050236589b Mon Sep 17 00:00:00 2001
From: Mariano Guerra <mariano@marianoguerra.org>
Date: Fri, 21 Oct 2016 14:39:33 +0100
Subject: [PATCH 14/59] use list on list of links
---
lib/erl_docgen/priv/css/otp_doc.css | 1 +
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 ed5b8d518..b1d18b09d 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 951b3a79f..bfc0ba9f5 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
--
2.12.2