Skip to content

Commit

Permalink
remove js syntax highlighting change to light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Holywell authored and Simon Holywell committed Feb 28, 2018
1 parent e927173 commit 0ce5e1f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 175 deletions.
164 changes: 0 additions & 164 deletions _includes/static/highlight.hybrid.css

This file was deleted.

1 change: 0 additions & 1 deletion _includes/static/highlight.pack.js

This file was deleted.

1 change: 1 addition & 0 deletions _includes/static/manni.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions static/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
layout: nil
---

{% include static/highlight.pack.js %}
hljs.initHighlightingOnLoad();

{% include static/anchor.min.js %}
anchors.add('h2,h3,h4,h5,h6');

Expand Down
26 changes: 19 additions & 7 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,29 @@ ul#markdown-toc {
}

/* Syntax highlighting */
code {
font-family: 'Droid Sans Mono', monospace;
font-size: 0.825em;
color: #666;
}
pre code {
div.highlighter-rouge {
max-height: 450px;
overflow-y: auto;
border: 2px solid #eee;
margin: 1em 0;
background-color: #fefefe
}

div.highlighter-rouge div.highlight {
padding: .5em .825em;
}
div.highlighter-rouge pre.highlight {
margin: 0;
display: block;
line-height: 1.1;
}
code {
font-size: .825em;
font-family: 'Droid Sans Mono', monospace;
color: #555;
}

{% include static/highlight.hybrid.css %}
{% include static/manni.css %}

.anchorjs-link {
color: {{ primary_colour }};
Expand Down

0 comments on commit 0ce5e1f

Please sign in to comment.