diff --git a/_includes/header.html b/_includes/header.html
index 92818db..0f76627 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -19,6 +19,7 @@
{% assign hr = false %}
{% endif %}
{% endfor %}
+
Printable Version
{{ page.title }}
diff --git a/static/script.js b/static/script.js
index 11112ef..492f92d 100644
--- a/static/script.js
+++ b/static/script.js
@@ -1,4 +1,8 @@
$(function() {
+ $("#printable").click(function() {
+ $("body").addClass("printable");
+ });
+
return $("h2, h3, h4, h5, h6").each(function(i, el) {
var $el, icon, id;
$el = $(el);
diff --git a/static/style.css b/static/style.css
index a3230e5..1524eae 100644
--- a/static/style.css
+++ b/static/style.css
@@ -5,6 +5,18 @@ html, body {
background: #333;
}
+.printable #navbar{
+ display: none;
+}
+
+.printable #page {
+ left: 0;
+}
+
+.printable .header-link {
+ display: none !important;
+}
+
a {
color: blue;
text-decoration: underline;
@@ -81,6 +93,7 @@ figure {
padding: 5px;
color: #ccc;
text-decoration: none;
+ cursor: pointer;
}
#navbar li:nth-child(odd) a {