Skip to content

Commit

Permalink
Add basic print styles
Browse files Browse the repository at this point in the history
- Hide menu, social share buttons, and ads on print
- Close #191
  • Loading branch information
mmistakes committed Dec 3, 2015
1 parent be97221 commit 2362f62
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions _sass/print.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* ==========================================================================
PRINT STYLES
========================================================================== */

/*
Hide the following elements on print
========================================================================== */

@media print {
.top-navigation,
.social-share,
.related-articles,
.google-ads {
display: none;
}
}
3 changes: 2 additions & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ sitemap: false
@import "page";
@import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup";
//@import "vendor/google/fonts";
//@import "vendor/google/fonts";
@import "print";

0 comments on commit 2362f62

Please sign in to comment.