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
This commit is contained in:
Oshawk 2018-10-08 05:40:06 +01:00 committed by John O'Nolan
parent 6f4fe840b3
commit d48178fde9

View File

@ -939,7 +939,7 @@ Usage (In Ghost editor):
background: transparent;
}
.post-full-content pre code * {
.post-full-content pre code :not(span) {
color: inherit;
}