From d48178fde9b2006442dd3a54ac06ff016cde3b48 Mon Sep 17 00:00:00 2001 From: Oshawk Date: Mon, 8 Oct 2018 05:40:06 +0100 Subject: [PATCH] Remove css rule that stops syntax highlighting (#484) * Remove suspect css rule Removed the ".post-full-content pre code * { color: inherit }" rule which prevents highlight.js from working. * Changed to just exclude span Less disruptive to just remove span from color inheritance. * Remove extra newline --- assets/css/screen.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 90ad8bf..e407063 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -939,7 +939,7 @@ Usage (In Ghost editor): background: transparent; } -.post-full-content pre code * { +.post-full-content pre code :not(span) { color: inherit; }