From 61015a25365851833ab35c61687cb38e3e7a946d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 2 Nov 2023 19:35:08 +0100 Subject: [PATCH] print! --- static/css/cours.css | 6 ++++++ static/css/style.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/static/css/cours.css b/static/css/cours.css index c21ae0d..4ed74a2 100644 --- a/static/css/cours.css +++ b/static/css/cours.css @@ -37,3 +37,9 @@ aside li:not(.collapsed).directory::before { aside li.directory { cursor: pointer; } + +@media print { + aside { + visibility: hidden; + } +} diff --git a/static/css/style.css b/static/css/style.css index e355e15..4aa7d99 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -65,3 +65,9 @@ header nav a:hover { .bold { font-weight: bold; } + +@media print { + header nav { + visibility: hidden; + } +}