From c5d603b5b155e9c1d81042af07f191ed06be6d9b Mon Sep 17 00:00:00 2001 From: xxKeefer Date: Sat, 27 Apr 2024 14:02:07 +1000 Subject: fix: :bug: fix styles to work on firefox and chromium #71 --- static/css/pages/everything.css | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'static/css/pages/everything.css') diff --git a/static/css/pages/everything.css b/static/css/pages/everything.css index 2b5544b..1fc4424 100644 --- a/static/css/pages/everything.css +++ b/static/css/pages/everything.css @@ -313,35 +313,38 @@ h3 { } @media print { - #everything-contents { + + body#page-everything { + overflow: visible; + float: none; + display: inline; + } + + aside#everything-contents { display: none; } - .navbar { + nav.navbar { position: unset; } main#everything { max-height: unset; - overflow: visible !important; + overflow: visible; + display: inline; } - #everything-lessons { + section#everything-lessons { max-height: unset; - overflow: visible !important; - - h3.chapter-title:not(:first-child) { - break-before: always; - } - - article.lesson:not(hr.chapter-separator + article.lesson) { - break-inside: avoid; - } + overflow: visible; + display: inline; + } + h3.chapter-title:not(:first-child) { + break-before: always; } - /* for FireFox */ - * { - overflow: visible !important; + article.lesson:not(hr.chapter-separator + article.lesson) { + break-inside: avoid; } } \ No newline at end of file -- cgit v1.2.3