From: Paul Hänsch Date: Sat, 20 Mar 2021 12:25:53 +0000 (+0100) Subject: Merge commit '38b6b7c8b8eef16d87bd2b4cbf05cfa8a4662fe0' X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=234b0cc18067d6b6830634819b553087616a23e4;hp=-c;p=webtxt Merge commit '38b6b7c8b8eef16d87bd2b4cbf05cfa8a4662fe0' --- 234b0cc18067d6b6830634819b553087616a23e4 diff --combined cgilite/common.css index 99855b9,f9b17ad..f9b17ad --- a/cgilite/common.css +++ b/cgilite/common.css @@@ -87,6 -87,20 +87,20 @@@ input + label margin-left: .375em; } + @media print { + @page { margin: 20mm; } + + h1 { text-align: center; } + + h1, h2, h3, h4, h5, h6, form legend { + page-break-inside: avoid; + page-break-after: avoid; + page-break-before: auto; + } + li { page-break-inside: avoid; } + th, dt { page-break-after: avoid; } + } + /* ======= End Generic Styles ======= */ /* ======= Common Styles ======= */