digitalcraftsman / hugo-material-docs

Port of Martin Donath's mkdocs-material theme to Hugo
MIT License
706 stars 186 forks source link

Code blocks show different grey levels #90

Open ctron opened 6 years ago

ctron commented 6 years ago

Using code blocks show different level of gray for the block background and the line background:

image

I think this is due to fact that <pre> and <code> use different ways to color the background and the resulting RGB values don't match.

Probably the most simple solution would be to remove the background color of <code> elements if they are contained in a <pre> element.

hellt commented 6 years ago

this is really annoying =)