From 61552443401eaceddb2e289dd19a7c10f005066e Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Wed, 3 Jan 2024 15:36:01 +0100 Subject: [PATCH 1/5] Don't show the sidebar in the print version --- public/css/hyde.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/css/hyde.css b/public/css/hyde.css index 213e232920d..b1baf012957 100644 --- a/public/css/hyde.css +++ b/public/css/hyde.css @@ -43,7 +43,7 @@ html { html { font-size: 20px; } -} +} /* @@ -69,6 +69,11 @@ html { text-align: left; } } +@media print { + .sidebar { + display: none; + } +} /* Sidebar links */ .sidebar a { From 5f02429ebacb5887a24a93194f92a6241140b2da Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Wed, 3 Jan 2024 15:38:40 +0100 Subject: [PATCH 2/5] Don't show the sidebar either --- public/css/poole.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/css/poole.css b/public/css/poole.css index 8ec27e7a844..a34b7da7ff6 100644 --- a/public/css/poole.css +++ b/public/css/poole.css @@ -377,6 +377,13 @@ tbody tr:nth-child(odd) th { color: inherit; } +/* Don't show the sidebar in print or when saved as PDF */ +@media print { + .sidebar { + display: none; + } +} + /* * Pagination From b4c172615d14f4217ccf98425803d91225c212df Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Wed, 3 Jan 2024 15:40:36 +0100 Subject: [PATCH 3/5] *related --- public/css/poole.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/poole.css b/public/css/poole.css index a34b7da7ff6..aa9304685f5 100644 --- a/public/css/poole.css +++ b/public/css/poole.css @@ -377,9 +377,9 @@ tbody tr:nth-child(odd) th { color: inherit; } -/* Don't show the sidebar in print or when saved as PDF */ +/* Don't show the related posts in print or when saved as PDF */ @media print { - .sidebar { + .related { display: none; } } From 0406b085281440d70f99f15424061d23688e71fe Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Wed, 3 Jan 2024 15:40:55 +0100 Subject: [PATCH 4/5] Remove unintended diff --- public/css/hyde.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/hyde.css b/public/css/hyde.css index b1baf012957..2d92121159f 100644 --- a/public/css/hyde.css +++ b/public/css/hyde.css @@ -43,7 +43,7 @@ html { html { font-size: 20px; } -} +} /* From 1452acddccfe4491bc5cdc26fa674c7e6932f7e9 Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Wed, 3 Jan 2024 15:42:57 +0100 Subject: [PATCH 5/5] Add a line comment here --- public/css/hyde.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/css/hyde.css b/public/css/hyde.css index 2d92121159f..7386fe0b909 100644 --- a/public/css/hyde.css +++ b/public/css/hyde.css @@ -69,6 +69,8 @@ html { text-align: left; } } + +/* Don't show the sidebar in print or when saved as PDF */ @media print { .sidebar { display: none;