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

How to disable shadows manually in coy theme. #894

Closed
garretwilson opened this issue Feb 15, 2016 · 2 comments
Closed

How to disable shadows manually in coy theme. #894

garretwilson opened this issue Feb 15, 2016 · 2 comments

Comments

@garretwilson
Copy link

The coy theme comes with shadows. I would like to know how to turn them off manually from my own CSS.

Yes, I know that most of the time they look snazzy. Yes, I know that a lot of work has been put into them. Yes, I'm fine with them being turned on by default for screen media.

But for my purposes I just need to be able to disable them, even for screen. What is the easiest way for me to do this?

I've asked this question several times in Issue #859, but it must have got lost in the shuffle so I'm just filing a separate issue. Thanks.

@zeitgeist87
Copy link
Collaborator

Sorry if we missed your question. This should do it:

pre[class*="language-"]:before,
pre[class*="language-"]:after {
    display: none;
}

@garretwilson
Copy link
Author

Bingo! That seems to work. Thanks so much!

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

No branches or pull requests

2 participants