JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
css "space between" hack only for margins
[wfpl.git] / metaform / style.css
1 .caption {
2         margin-top: 15px;
3         font-weight: bold;
4 }
5 .field {
6         margin-bottom: 15px;
7 }
8 div.field_notes {
9         font-size: 12px;
10         line-height: 16px;
11 }
12 fieldset {
13         border: 1px dotted black;
14         padding: 0 15px 15px 15px;
15         margin: 15px 0;
16         position: relative;
17 }
18 legend {
19         padding: 0 6px;
20         font-weight: bold;
21 }
22 div.error {
23         border: 2px solid red;
24         padding: 13px;
25         margin: 20px;
26         background: #fdd;
27 }
28
29 /* hack so that vertical margins are only between siblings for the most part */
30 td > :first-child,
31 th > :first-child,
32 legend + *,
33 article > :first-child,
34 section > :first-child,
35 nav > :first-child,
36 div > :first-child,
37 .first {
38         margin-top: 0px;
39 }
40 td > :last-child,
41 th > :last-child,
42 fieldset > :last-child,
43 article > :last-child,
44 section > :last-child,
45 nav > :last-child,
46 div > :last-child,
47 .last {
48         margin-bottom: 0px;
49 }