diff --git a/_includes/header.html b/_includes/header.html
index 1386cb2..00e2bba 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -35,7 +35,6 @@
Lua Modding API Reference
Download Examples
- Printable Version
diff --git a/static/style.scss b/static/style.scss
index 2156a04..b2733fe 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -10,18 +10,6 @@ html, body {
color: black;
}
-.printable #navbar{
- display: none;
-}
-
-.printable #page {
- left: 0;
-}
-
-.printable .header-link {
- display: none !important;
-}
-
a {
color: blue;
text-decoration: underline;
@@ -206,3 +194,22 @@ h3 {
padding-top: 20px;
}
}
+
+@media print {
+ #navbar{
+ display: none !important;
+ }
+
+ #page {
+ left: 0 !important;
+ }
+
+ .header-link {
+ display: none !important;
+ }
+
+ a {
+ color: black !important;
+ text-decoration: none !important;
+ }
+}