diff options
author | xxKeefer <xxkeefer.code@gmail.com> | 2024-04-27 14:02:07 +1000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-05-01 13:16:23 +0100 |
commit | c5d603b5b155e9c1d81042af07f191ed06be6d9b (patch) | |
tree | bba7325e50babc463aef9853589d09b94e6fac38 /static/css/pages/everything.css | |
parent | 7c6ab9b26a9c43be71ee71bfd58434be9c3c0d69 (diff) | |
download | tour-c5d603b5b155e9c1d81042af07f191ed06be6d9b.tar.gz tour-c5d603b5b155e9c1d81042af07f191ed06be6d9b.zip |
fix: :bug: fix styles to work on firefox and chromium
#71
Diffstat (limited to 'static/css/pages/everything.css')
-rw-r--r-- | static/css/pages/everything.css | 35 |
1 files changed, 19 insertions, 16 deletions
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 |