X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=common.css;h=d6a931604d58c17c0fb0124a739a194f8d61de27;hb=7459611c967440c8a73573b50f6d802764293a86;hp=99855b9f087086f22763dcbe49f2481f97263fbc;hpb=4b913ff67dee69b06224a77249baaef030565c8e;p=cgilite diff --git a/common.css b/common.css index 99855b9..d6a9316 100644 --- a/common.css +++ b/common.css @@ -68,6 +68,7 @@ select, input, button, textarea, a.button { border-radius: 2pt; } select { padding: .375em 0; } +textarea { min-height: 7em; } input[type=radio], input[type=checkbox] { vertical-align: baseline; @@ -87,6 +88,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 ======= */