X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform%2Fstyle.css;h=ded770c2c2a3ef506d04cf5c82e1c853a665427b;hb=e09ce518fa4526e8832d81e7693f30991abb0a48;hp=006ccab9a9c68a5d9003fdd097a5b0c9439873df;hpb=7add2ea3f61e40c5f0f5539ac6e02533c9390db4;p=wfpl.git diff --git a/metaform/style.css b/metaform/style.css index 006ccab..ded770c 100644 --- a/metaform/style.css +++ b/metaform/style.css @@ -1,18 +1,36 @@ -td.field, td.right_caption { - text-align: left; - vertical-align: bottom; +.caption { + margin-top: 15px; + font-weight: bold; +} +.field { + margin-bottom: 15px; +} +div.field_notes { + font-size: 12px; + line-height: 16px; } -td.caption, td.errorcaption { - text-align: right; - vertical-align: top; +fieldset { + border: 1px dotted black; + padding: 0 15px 15px 15px; + margin: 15px 0; + position: relative; } -td.caption, td.errorcaption, td.right_caption { +legend { + padding: 0 6px; font-weight: bold; } -td.errorcaption { color: red; } div.error { border: 2px solid red; padding: 13px; margin: 20px; background: #fdd; } + +:first-child, .first { + padding-top: 0px; + margin-top: 0px; +} +:last-child, .last { + padding-bottom: 0px; + margin-bottom: 0px; +}