aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-08 10:47:05 -0700
committerMark Otto <[email protected]>2011-09-08 10:47:05 -0700
commitc474f996a902434572c238bb6e170473171cadad (patch)
treef65438b78df3ecdcdf82cbfa2dd06bf76890ce83 /lib
parent1c03a075919681c398622bc36ca9f78b5f3c1737 (diff)
downloadbootstrap-c474f996a902434572c238bb6e170473171cadad.tar.xz
bootstrap-c474f996a902434572c238bb6e170473171cadad.zip
tweaks to table styles to make them use @basefont and @baseline
Diffstat (limited to 'lib')
-rw-r--r--lib/tables.less13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/tables.less b/lib/tables.less
index d1af37de8..4fff7bd64 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -11,20 +11,23 @@ table {
width: 100%;
margin-bottom: @baseline;
padding: 0;
- border-collapse: separate;
- font-size: 13px;
+ border-collapse: collapse;
+ font-size: @basefont;
th, td {
padding: 10px 10px 9px;
- line-height: @baseline * .75;
+ line-height: @baseline;
text-align: left;
- vertical-align: middle;
- border-bottom: 1px solid #ddd;
+ border: 1px solid #ddd;
}
th {
padding-top: 9px;
font-weight: bold;
+ vertical-align: middle;
border-bottom-width: 2px;
}
+ td {
+ vertical-align: top;
+ }
}