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 line numbered code block styling #513

Closed
mmistakes opened this Issue Sep 9, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@mmistakes
Owner

mmistakes commented Sep 9, 2016

Improve styling for {% highlight linenos %} code blocks.

  • Remove border from .highlight table and .highlight td
  • Add padding to td.gutter

screen shot 2016-09-08 at 9 28 22 pm

cc/ #512

Improved styling example:

highlight-code

@mmistakes mmistakes changed the title from Style line numbered code blocks to Improve line numbered code block styling Sep 9, 2016

@mmistakes mmistakes closed this in 3c034e5 Sep 9, 2016

mmistakes added a commit that referenced this issue Sep 9, 2016

Improve styling of `{% highlight %}` tag code blocks
- Fix alignment in issues in Firefox
- Remove table borders from `linenos`
- Harmonize padding and font-sizes
- Close #513 and close #512

jluccisano added a commit to jluccisano/jluccisano.github.io that referenced this issue May 6, 2017

Improve styling of `{% highlight %}` tag code blocks
- Fix alignment in issues in Firefox
- Remove table borders from `linenos`
- Harmonize padding and font-sizes
- Close mmistakes#513 and close mmistakes#512

antonizoon pushed a commit to antonizoon/antonizoon.github.io that referenced this issue Jul 27, 2018

Improve styling of `{% highlight %}` tag code blocks
- Fix alignment in issues in Firefox
- Remove table borders from `linenos`
- Harmonize padding and font-sizes
- Close mmistakes#513 and close mmistakes#512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment