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