From 661c53a73320086144d2d871262fba89d4b42745 Mon Sep 17 00:00:00 2001 From: nobodys-ghost Date: Wed, 16 Oct 2024 17:14:07 -0700 Subject: [PATCH] hid site header and footer on print --- cc_legal_tools/static/cc-legal-tools/base.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cc_legal_tools/static/cc-legal-tools/base.css b/cc_legal_tools/static/cc-legal-tools/base.css index 68ed1ac0..507eb108 100644 --- a/cc_legal_tools/static/cc-legal-tools/base.css +++ b/cc_legal_tools/static/cc-legal-tools/base.css @@ -255,3 +255,11 @@ main > aside > nav ul > li { /* TODO: resolve with vocabulary-theme */ margin-left: .3em; margin-right: 0; } + +/* print media */ +@media print { + .cc-legal-tools > footer, + .cc-legal-tools > header { + display: none; + } +}