X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform%2Fstyle.css;h=8d313579877f0aa5e50a3682fc585fb5e373908c;hb=fbb154b93a7017979174daf26cc77a1efaa3d5e5;hp=ded770c2c2a3ef506d04cf5c82e1c853a665427b;hpb=193a9819b97b9fc3d9b331a2aa307eb00370c3aa;p=wfpl.git diff --git a/metaform/style.css b/metaform/style.css index ded770c..8d31357 100644 --- a/metaform/style.css +++ b/metaform/style.css @@ -26,11 +26,26 @@ div.error { background: #fdd; } -:first-child, .first { +/* hack so that vertical margins are only between siblings for the most part */ +td > :first-child, +th > :first-child, +legend + :first-child, +article > :first-child, +section > :first-child, +nav > :first-child, +div > :first-child, +.first { padding-top: 0px; margin-top: 0px; } -:last-child, .last { +td > :last-child, +th > :last-child, +fieldset > :last-child, +article > :last-child, +section > :last-child, +nav > :last-child, +div > :last-child, +.last { padding-bottom: 0px; margin-bottom: 0px; }