Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
css "space between" hack only for margins
[wfpl.git]
/
metaform
/
style.css
diff --git
a/metaform/style.css
b/metaform/style.css
index
ded770c
..
c39d711
100644
(file)
--- a/
metaform/style.css
+++ b/
metaform/style.css
@@
-26,11
+26,24
@@
div.error {
background: #fdd;
}
background: #fdd;
}
-:first-child, .first {
- padding-top: 0px;
+/* 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;
}
margin-top: 0px;
}
-:last-child, .last {
- padding-bottom: 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;
}
margin-bottom: 0px;
}