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

Improve code blocks visually #21

Open
fdedden opened this issue May 5, 2020 · 0 comments
Open

Improve code blocks visually #21

fdedden opened this issue May 5, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fdedden
Copy link
Member

fdedden commented May 5, 2020

The colours for syntax highlighting were chosen for a black background. Most code on the site has a white background making some of the code unreadable.

Additionally there could be some visual indication of a code block.

@fdedden fdedden added the enhancement New feature or request label May 5, 2020
@fdedden fdedden self-assigned this May 5, 2020
fdedden added a commit that referenced this issue May 5, 2020
The grey colour is readable with dark and light backgrounds.
fdedden added a commit that referenced this issue May 5, 2020
Made the green darker, added a special entry in home.css to keep the literals
there a fresh green.
fdedden added a commit that referenced this issue May 5, 2020
fdedden added a commit that referenced this issue May 5, 2020
A 5px wide border on the left hand side of code clearly shows where it starts
and ends.
fdedden added a commit that referenced this issue May 5, 2020
Issue won't be closed yet, as there are still improvements to be made in the
colouring.
@fdedden fdedden changed the title Fix code with white background Improve code blocks visually May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant