From bbc42023183460376b7d44a35a5c5a5710856477 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 3 Aug 2015 15:09:23 +1000 Subject: [PATCH] godoc/static: shorten vertical space above headings Without this change, a h3 below a h2 looks weird. Change-Id: I96cd1545615547b03460cf6896acd0df1abfc1a1 Reviewed-on: https://go-review.googlesource.com/13052 Reviewed-by: Chris Broadfoot --- godoc/static/static.go | 5 +++-- godoc/static/style.css | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/godoc/static/static.go b/godoc/static/static.go index 02d04357..5c42fd0d 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -2783,7 +2783,7 @@ h2, h3, h4, .rootHeading { - margin: 40px 0 20px; + margin: 20px 0 20px; padding: 0; color: #375EAB; font-weight: bold; @@ -3483,5 +3483,6 @@ a.error { border: 1px solid #BBB; white-space: pre-wrap; } -}`, +} +`, } diff --git a/godoc/static/style.css b/godoc/static/style.css index 3ea4a11f..241fa903 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -66,7 +66,7 @@ h2, h3, h4, .rootHeading { - margin: 40px 0 20px; + margin: 20px 0 20px; padding: 0; color: #375EAB; font-weight: bold; @@ -766,4 +766,4 @@ a.error { border: 1px solid #BBB; white-space: pre-wrap; } -} \ No newline at end of file +}