Add basic print styles
- Hide menu, social share buttons, and ads on print - Close #191
This commit is contained in:
parent
be9722111b
commit
2362f621fb
2 changed files with 18 additions and 1 deletions
16
_sass/print.scss
Normal file
16
_sass/print.scss
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/* ==========================================================================
|
||||||
|
PRINT STYLES
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Hide the following elements on print
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
.top-navigation,
|
||||||
|
.social-share,
|
||||||
|
.related-articles,
|
||||||
|
.google-ads {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
|
@ -26,3 +26,4 @@ sitemap: false
|
||||||
@import "vendor/font-awesome/font-awesome";
|
@import "vendor/font-awesome/font-awesome";
|
||||||
@import "vendor/magnific-popup/magnific-popup";
|
@import "vendor/magnific-popup/magnific-popup";
|
||||||
//@import "vendor/google/fonts";
|
//@import "vendor/google/fonts";
|
||||||
|
@import "print";
|
Loading…
Reference in a new issue