Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code background-color overwritten #23

Open
GauntletPL opened this issue Mar 21, 2019 · 2 comments
Open

Code background-color overwritten #23

GauntletPL opened this issue Mar 21, 2019 · 2 comments

Comments

@GauntletPL
Copy link

GauntletPL commented Mar 21, 2019

When using source highlighter like highlightjs, background-color property for code tag is not displayed properly (by this I mean, it does not use highlightjs styles), because of this line ((snippet below is taken from fedora theme))
code{color:var(--white);background-color: var(--highlightcolor) !important}

I suggest changing it to something similar to how it is defined in asciidoctor.css
:not(pre)>code{color:var(--white);background-color: var(--highlightcolor)}

@dohliam
Copy link
Collaborator

dohliam commented Mar 22, 2019

@GauntletPL Thanks for looking into this! Would you be interested in opening a PR to fix this? If so, we'd be happy to merge it!

@GauntletPL
Copy link
Author

@9ao9ai9ar please, go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants