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=4541ec60345afff6b333886eb1927c2e15ccc330;p=webtxt Merge commit '38b6b7c8b8eef16d87bd2b4cbf05cfa8a4662fe0' --- diff --git a/cgilite/common.css b/cgilite/common.css index 99855b9..f9b17ad 100644 --- a/cgilite/common.css +++ b/cgilite/common.css @@ -87,6 +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 ======= */