X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform%2Fstyle.css;h=ded770c2c2a3ef506d04cf5c82e1c853a665427b;hb=716a02dbcc75c65b2add4198e08e52270664f092;hp=247cb412cc3d701e58f2705ab67f0159d525e1be;hpb=afea5c955e747db369fa2fd62a61ff1bdf4ca4ce;p=wfpl.git diff --git a/metaform/style.css b/metaform/style.css index 247cb41..ded770c 100644 --- a/metaform/style.css +++ b/metaform/style.css @@ -1,24 +1,21 @@ -div.caption { +.caption { + margin-top: 15px; font-weight: bold; } -div.field { +.field { margin-bottom: 15px; } div.field_notes { font-size: 12px; line-height: 16px; } -div.form_section { +fieldset { border: 1px dotted black; - padding: 23px 15px 15px 15px; - margin: 40px 0; + padding: 0 15px 15px 15px; + margin: 15px 0; position: relative; } -div.form_section_header { - position: absolute; - left: 42px; - top: -9px; - background: white; +legend { padding: 0 6px; font-weight: bold; } @@ -29,11 +26,11 @@ div.error { background: #fdd; } -.first { +:first-child, .first { padding-top: 0px; margin-top: 0px; } -.last { +:last-child, .last { padding-bottom: 0px; margin-bottom: 0px; }