From 9cb13461ad362171f46ad34df8bb74658716f7d4 Mon Sep 17 00:00:00 2001 From: Timid Robot Zehta Date: Tue, 5 Nov 2024 08:53:43 -0800 Subject: [PATCH] add print media css --- docs/cc-legal-tools/base.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/cc-legal-tools/base.css b/docs/cc-legal-tools/base.css index 68ed1ac015..c020555a10 100644 --- a/docs/cc-legal-tools/base.css +++ b/docs/cc-legal-tools/base.css @@ -255,3 +255,19 @@ 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; + } + + .cc-legal-tools main { + display: block; + } + + .cc-legal-tools main > aside { + display: none; + } +}