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

use the ~ operator instead of = to fix bad <code> block indentation #5

Merged
merged 1 commit into from
Oct 11, 2013

Conversation

michaelparenteau
Copy link
Member

@jina This fixes the strange indentation of the code block output. Something that I am noticing about the Rouge::Themes::Base16::Solarized business that is formatting/styling code blocks... is that there is pretty poor contrast on some of the elements. Particularly the orange and green are really low contrast and then the dark for the .err class generated, that has a low text/background contrast... but a really jarring high contrast against the main pre.highlight background. Any objections to specifying style overrides for those cases to improve the visibility and general feeling of this stuff? Is there a better way to access the styles in the magic provided by the library we are using for code formatting/styling?

cc/ @bpainter

@bpainter
Copy link
Member

I was noticing that too. I think we can override and come up with a code highlighting theme that matches the website a bit more and provides more contrast. I just don't think anybody has done it yet.

bpainter added a commit that referenced this pull request Oct 11, 2013
use the ~ operator instead of = to fix bad <code> block indentation
@bpainter bpainter merged commit d48e963 into master Oct 11, 2013
bpainter added a commit that referenced this pull request Oct 11, 2013
There isn't enough contrast between the code blocks and the code. Adjusted the opacity to increase contrast. We can readjust later once we get a chance to create some Sassy code block related color treatment. This is a temporary fix to #5.
nex3 pushed a commit that referenced this pull request Jun 23, 2023
Add homepage, global navigation, get involved, community guidelines, and install pages.
asaf400 pushed a commit to asaf400/ass-site that referenced this pull request Apr 18, 2024
Add homepage, global navigation, get involved, community guidelines, and install pages.
asaf400 pushed a commit to asaf400/ass-site that referenced this pull request Apr 18, 2024
Add homepage, global navigation, get involved, community guidelines, and install pages.
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 this pull request may close these issues.

2 participants