Skip to content

Commit 7bc0e22

Browse files
authored
Added CSS for printing (#777)
1 parent f1aa057 commit 7bc0e22

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

styles/website.css

+22
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,25 @@ img.center {
2828
#book-search-input input, #book-search-input input:focus, #book-search-input input:hover{
2929
color: #222;
3030
}
31+
32+
@media print {
33+
/* Hide side bar */
34+
.book-summary {
35+
display: none;
36+
}
37+
38+
/*Hide top bar*/
39+
.book-header {
40+
display: none;
41+
}
42+
43+
/*Hide left and right navigation arrows*/
44+
.navigation {
45+
display: none;
46+
}
47+
48+
/*Make sure all content is displayed and not just the first page*/
49+
.book-body {
50+
position: static;
51+
}
52+
}

0 commit comments

Comments
 (0)