Skip to content

Commit 33d5d96

Browse files
committed
Remove style conflict between Gist lines and navicon-lines.
Fixes mmistakes#49
1 parent f3e6d5e commit 33d5d96

File tree

5 files changed

+20
-14
lines changed

5 files changed

+20
-14
lines changed

_posts/2013-08-16-code-highlighting-post.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,10 @@ module Jekyll
111111
end
112112
end
113113
end
114-
~~~
114+
~~~
115+
116+
### GitHub Gist Embed
117+
118+
An example of a Gist embed below.
119+
120+
{% gist mmistakes/6589546 %}

assets/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/_main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var changeClass = function (r,className1,className2) {
1313
};
1414
// Creating our button in JS for smaller screens
1515
var menuElements = document.getElementById('site-nav');
16-
menuElements.insertAdjacentHTML('afterBegin','<button type="button" role="button" id="menutoggle" class="navtoogle lines-button x" aria-hidden="true"><span class="lines"></span>menu</button>');
16+
menuElements.insertAdjacentHTML('afterBegin','<button type="button" role="button" id="menutoggle" class="navtoogle navicon-lines-button x" aria-hidden="true"><span class="navicon-lines"></span>menu</button>');
1717

1818
// Toggle the class on click to show / hide the menu
1919
document.getElementById('menutoggle').onclick = function() {

0 commit comments

Comments
 (0)