From bd82cf7312d7188001212223c985a5d34e878aa1 Mon Sep 17 00:00:00 2001 From: Jonas Rinke Date: Thu, 22 Oct 2020 21:41:32 +0200 Subject: [PATCH] Added CSS for printing --- styles/website.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/styles/website.css b/styles/website.css index 4853a7a2d..eeb088889 100644 --- a/styles/website.css +++ b/styles/website.css @@ -28,3 +28,25 @@ img.center { #book-search-input input, #book-search-input input:focus, #book-search-input input:hover{ color: #222; } + +@media print { + /* Hide side bar */ + .book-summary { + display: none; + } + + /*Hide top bar*/ + .book-header { + display: none; + } + + /*Hide left and right navigation arrows*/ + .navigation { + display: none; + } + + /*Make sure all content is displayed and not just the first page*/ + .book-body { + position: static; + } +}