~xdavidwu/xdavidwu.link

2362f621fbb86ddbc50e52cabb208e86dfee17cb — Michael Rose 8 years ago be97221
Add basic print styles
- Hide menu, social share buttons, and ads on print
- Close #191
2 files changed, 18 insertions(+), 1 deletions(-)

A _sass/print.scss
M assets/css/main.scss
A _sass/print.scss => _sass/print.scss +16 -0
@@ 0,0 1,16 @@
/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

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

@media print {
  .top-navigation, 
  .social-share, 
  .related-articles,
  .google-ads {
    display: none;
  }
}

M assets/css/main.scss => assets/css/main.scss +2 -1
@@ 25,4 25,5 @@ sitemap: false
@import "page";
@import "vendor/font-awesome/font-awesome";
@import "vendor/magnific-popup/magnific-popup";
//@import "vendor/google/fonts";
\ No newline at end of file
//@import "vendor/google/fonts";
@import "print";
\ No newline at end of file