From 2cfc70735daa391b5073841da918a8bf495b18a2 Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 26 May 2013 19:51:05 -0600 Subject: [PATCH] Qualify .go class for Pygments, fixes #1153 --- site/css/pygments.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/css/pygments.css b/site/css/pygments.css index e1df641b..408a44f3 100644 --- a/site/css/pygments.css +++ b/site/css/pygments.css @@ -18,7 +18,7 @@ .highlight .gr { color: #c0c0c0; font-weight: bold; background-color: #c00000 } /* Generic.Error */ .highlight .gh { color: #cd5c5c} /* Generic.Heading */ .highlight .gi { color: #ffffff; background-color: #0000c0 } /* Generic.Inserted */ -.highlight .go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output */ +.highlight span.go { color: #add8e6; font-weight: bold; background-color: #4d4d4d } /* Generic.Output, qualified with span to prevent applying this style to the Go language, see #1153. */ .highlight .gp { color: #ffffff} /* Generic.Prompt */ .highlight .gs { color: #ffffff} /* Generic.Strong */ .highlight .gu { color: #cd5c5c} /* Generic.Subheading */