// dimensions @site-width: 940px; @nav-width: 200px; @gutter-width: 18px; @main-body-width: @site-width - @gutter-width - @nav-width; // colors @framing-color: #ccf; @gutter-color: #fff; body { margin: 0; padding: 0; color: #000; background: #fff; font: 14px "Verdana", sans-serif; } #centerer { position: relative; margin: 0 auto; width: @site-width; } header { width: @site-width; height: 100px; background: @framing-color; border-bottom: @gutter-width solid @gutter-color; } nav { float: left; width: @nav-width - 20px; padding: 10px; border-right: @gutter-width solid @gutter-color; background: @framing-color; a { display: block; } } #main-body { float: left; width: @main-body-width; } footer { clear: both; width: @site-width; height: 50px; background: @framing-color; border-top: @gutter-width solid @gutter-color; } #wfpl_messages { border: 2px solid red; background: #fbb; padding: 5px; margin: 20px 0px; p { font-size: 120%; padding: 5px; margin: 0px; } hr { height: 1px; } } .caption { margin-top: 15px; font-weight: bold; } .field { margin-bottom: 15px; } div.field_notes { font-size: 12px; line-height: 16px; } fieldset { border: 1px dotted black; padding: 0 15px 15px 15px; margin: 15px 0; position: relative; } legend { padding: 0 6px; font-weight: bold; } div.error { border: 2px solid red; padding: 13px; margin: 20px; background: #fdd; } /* hack so that vertical margins are only between siblings for the most part */ td > :first-child, th > :first-child, legend + *, article > :first-child, section > :first-child, nav > :first-child, div > :first-child, .first { margin-top: 0px; } td > :last-child, th > :last-child, fieldset > :last-child, article > :last-child, section > :last-child, nav > :last-child, div > :last-child, .last { margin-bottom: 0px; }