File 2747-make-Types-title-smaller-remove-colon.patch of Package erlang
From 17cdba11569e0e2b846fceba17f06bc87c2df4d5 Mon Sep 17 00:00:00 2001
From: Mariano Guerra <mariano@marianoguerra.org>
Date: Tue, 25 Oct 2016 17:45:18 +0100
Subject: [PATCH 47/59] make Types title smaller, remove colon
---
lib/erl_docgen/priv/css/otp_doc.css | 4 ++++
lib/erl_docgen/priv/xsl/db_html.xsl | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index f368e9dcb..1f3b9bfb2 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -257,3 +257,7 @@ hr{
a > .code {
color: #1862ab;
}
+
+.func-types-title{
+ font-size: 1em;
+}
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index 66562bfe6..cf0c0de0a 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -234,7 +234,7 @@
(there is no spec with more than one clause) -->
<xsl:if test="count($clause/guard) > 0 or count($type) > 0">
<div class="REFBODY fun-types">
- <h3 class="func-types-title">Types:</h3>
+ <h3 class="func-types-title">Types</h3>
<xsl:choose>
<xsl:when test="$output_subtypes">
@@ -2046,7 +2046,7 @@
<xsl:if test="string-length(@name) = 0 and string-length(@variable) = 0">
<div class="REFBODY rb-5">
- <h3>Types:</h3>
+ <h3 class="func-types-title">Types</h3>
<xsl:apply-templates>
<xsl:with-param name="partnum" select="$partnum"/>
--
2.12.2