File 2709-improve-docs-landing-page-title-and-subtitle.patch of Package erlang

From 802900e22708ff5258d1a3619e4241ef09a159e6 Mon Sep 17 00:00:00 2001
From: Mariano Guerra <mariano@marianoguerra.org>
Date: Fri, 21 Oct 2016 13:46:46 +0100
Subject: [PATCH 09/59] improve docs landing page title and subtitle

---
 lib/erl_docgen/priv/css/otp_doc.css     | 10 ++++++++++
 system/doc/top/templates/index.html.src | 22 ++++------------------
 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 6f0019fb3..ed5b8d518 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 967c33719..e7b9d8ac6 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>
 
-- 
2.12.2

openSUSE Build Service is sponsored by