X-Git-Url: https://git.plutz.net//?a=blobdiff_plain;f=cgilite%2Fcommon.css;h=f9b17ad8dc34dd3730429452ef05cc5bccfd883d;hb=234b0cc18067d6b6830634819b553087616a23e4;hp=99855b9f087086f22763dcbe49f2481f97263fbc;hpb=4541ec60345afff6b333886eb1927c2e15ccc330;p=webtxt 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 ======= */