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 <cbro@golang.org>
This commit is contained in:
Andrew Gerrand 2015-08-03 15:09:23 +10:00
parent 5a6a7b4d40
commit bbc4202318
2 changed files with 5 additions and 4 deletions

View File

@ -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;
}
}`,
}
`,
}

View File

@ -66,7 +66,7 @@ h2,
h3,
h4,
.rootHeading {
margin: 40px 0 20px;
margin: 20px 0 20px;
padding: 0;
color: #375EAB;
font-weight: bold;