From cd3ef3b6f02d2f468247c06a6f9b3273e9d186b4 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Wed, 27 May 2015 20:54:35 -0400 Subject: [PATCH] godoc/static: set explicit page background color Fixes golang/go#10961. Change-Id: I3fc947bb18535853b278bad5fa449cf259eba59c Reviewed-on: https://go-review.googlesource.com/10451 Reviewed-by: Andrew Gerrand --- godoc/static/static.go | 1 + godoc/static/style.css | 1 + 2 files changed, 2 insertions(+) diff --git a/godoc/static/static.go b/godoc/static/static.go index 642635bf..b8b9ef5f 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -2698,6 +2698,7 @@ function PlaygroundOutput(el) { margin: 0; font-family: Helvetica, Arial, sans-serif; font-size: 16px; + background-color: #fff; } pre, code { diff --git a/godoc/static/style.css b/godoc/static/style.css index dd417a24..ff4b7032 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -2,6 +2,7 @@ body { margin: 0; font-family: Helvetica, Arial, sans-serif; font-size: 16px; + background-color: #fff; } pre, code {