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

Website: Updated page styles to not interfere with themes #1952

Merged
merged 1 commit into from
Jun 29, 2019

Conversation

RunDevelopment
Copy link
Member

This changes the style.css to not interfere with themes.

The problem was that * { ...; font-weight: normal; } caused markdowns bold text to not be rendered as bold.

Style inheritance

image

The fix is quite simple: I just removed the font-weight: normal; line. The only elements (besides the bold tokens) that changed were h2s, so they get a new rule. In a side-to-side comparison, I wasn't able to spot any other differences.

Result:

image

@mAAdhaTTah mAAdhaTTah merged commit b654385 into PrismJS:master Jun 29, 2019
@RunDevelopment RunDevelopment deleted the markdown-page.style branch June 29, 2019 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants