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

[PATCH] css to avoid interference with local style #48

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

[PATCH] css to avoid interference with local style #48

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

you blogger install include inside the html page :
<style>
....
.post div {
 line-height:1.3em;
 ...
}
...
</style>

because this rules is inside the html, and more "selective", it has higher
priority against imported SyntaxHiglighter 'css.
Then it display an ugly grey bar.

I attach a css that work for our case.
I replace :
* every selector .dp-highlighter by div.dp-highlighter
* clear style
/* clear styles */
div.dp-highlighter ol,
div.dp-highlighter ol li,
div.dp-highlighter ol li span 
{
    margin: 0;
    padding: 0;
    border: none;
}

by 
/* clear styles */
div.dp-highlighter *
{
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1em;
}

Regards

Original issue reported on code.google.com by david.bernard.31 on 10 Dec 2007 at 7:50

Attachments:

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

No branches or pull requests

1 participant