aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariano Guerra <[email protected]>2016-10-21 13:46:46 +0100
committerMariano Guerra <[email protected]>2017-03-13 11:51:52 +0100
commit802900e22708ff5258d1a3619e4241ef09a159e6 (patch)
tree385032fd05dfb0c6eebdfe89d086ddd404b5c0ad
parent45bda44b08d01c0835b7402b752b9c7b07a4b77c (diff)
downloadotp-802900e22708ff5258d1a3619e4241ef09a159e6.tar.gz
otp-802900e22708ff5258d1a3619e4241ef09a159e6.tar.bz2
otp-802900e22708ff5258d1a3619e4241ef09a159e6.zip
improve docs landing page title and subtitle
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css10
-rw-r--r--system/doc/top/templates/index.html.src22
2 files changed, 14 insertions, 18 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index 6f0019fb32..ed5b8d5180 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -150,3 +150,13 @@ footer { }
text-align: center;
margin-bottom: 1em;
}
+
+.main-title{
+ text-align: center;
+}
+
+.main-description{
+ text-align: center;
+ margin: 2em 0;
+ font-size: 1.5em;
+}
diff --git a/system/doc/top/templates/index.html.src b/system/doc/top/templates/index.html.src
index 967c33719d..e7b9d8ac6d 100644
--- a/system/doc/top/templates/index.html.src
+++ b/system/doc/top/templates/index.html.src
@@ -73,24 +73,10 @@ limitations under the License.
<div id="content">
<div class="innertube">
-<center>
-<font size="+1"><b>Erlang/OTP #otp_base_vsn#</b></font><br>
-</center>
-<center>
-<p>
-<font size="+1">Welcome to Erlang/OTP, a complete<br>
-development environment<br>
-for concurrent programming.</font>
-</p>
-</center>
-<br>
-<br>
-<br>
-<p><b>
-<font size="+1">
-Some hints that may get you started faster
-</font>
-</b></p>
+ <h1 class="main-title">Erlang/OTP #otp_base_vsn#</h1>
+ <p class="main-description">Welcome to Erlang/OTP, a complete development environment for concurrent programming.</p>
+
+ <h2>Some hints that may get you started faster</h2>
<ul>