Skip to content

Commit

Permalink
add: print media query
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Dec 10, 2022
1 parent d517369 commit 70f8f32
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -487,3 +487,13 @@ a.book-btn {
#myBtn:hover {
background-color: #01ADD8;
}

@media print {
.book-header img.book-icon {display: none;}
b, strong {display: none;}
.page-navigation a {display: none;}
.book-comments {display: none;}
.flex align-center {display: none;}
.book-toc .book-toc-content {display: none;}
.markdown pre code { white-space: pre-wrap; }
}

0 comments on commit 70f8f32

Please sign in to comment.