aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-11-29 23:48:27 -0800
committerMark Otto <[email protected]>2011-11-29 23:48:27 -0800
commit90c190d4efedd4080c574b34bffdf54cd5b9ed88 (patch)
tree41bad1a33e6263f40700108b416f34504eb442d6
parent0c8d2e37e76db3d3b47ca9eb5340def031b9196b (diff)
downloadbootstrap-90c190d4efedd4080c574b34bffdf54cd5b9ed88.tar.xz
bootstrap-90c190d4efedd4080c574b34bffdf54cd5b9ed88.zip
updates to add warning for bordered tables to docs, fix to spacing on prettyprint pre blocks
-rw-r--r--bootstrap.css5
-rw-r--r--bootstrap.min.css3
-rw-r--r--docs/base-css.html9
-rw-r--r--lib/type.less5
4 files changed, 19 insertions, 3 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 6c5e58b71..aa852460e 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Tue Nov 29 22:53:00 PST 2011
+ * Date: Tue Nov 29 23:48:09 PST 2011
*/
html, body {
margin: 0;
@@ -514,6 +514,9 @@ pre {
white-space: pre-wrap;
word-break: break-all;
}
+pre.prettyprint {
+ margin-bottom: 18px;
+}
pre code {
padding: 0;
background-color: transparent;
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 7e9e633ae..e7505341e 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -89,7 +89,8 @@ blockquote.pull-right{float:right;}blockquote.pull-right p,blockquote.pull-right
address{display:block;margin-bottom:18px;line-height:18px;}
code,pre{padding:0 3px 2px;font-family:"Menlo",Monaco,Courier New,monospace;font-size:12px;color:#404040;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
code{padding:1px 3px;background-color:#fee9cc;}
-pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-break:break-all;}pre code{padding:0;background-color:transparent;}
+pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;white-space:pre;white-space:pre-wrap;word-break:break-all;}pre.prettyprint{margin-bottom:18px;}
+pre code{padding:0;background-color:transparent;}
form{margin-bottom:18px;}
legend{display:block;width:100%;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#404040;border-bottom:1px solid #eee;}
label,input,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:normal;font-weight:13px;line-height:18px;}
diff --git a/docs/base-css.html b/docs/base-css.html
index 7626d1668..cc1b4903c 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -632,6 +632,7 @@
&lt;/table&gt;</pre>
<h3>3. Bordered table</h3>
<p>Add borders around the entire table and between each row, plus a bit of rounded corners for aesthetic purposes.</p>
+ <p><span class="label">Note</span> Bordered tables do not work well with <code>rowspan</code> due to somewhat hacky CSS applied to the tables. Sorry about that!</p>
<table class="bordered-table">
<thead>
<tr>
@@ -648,7 +649,13 @@
<td>English</td>
</tr>
<tr>
- <td colspan="2">2 Joe</td>
+ <td>2</td>
+ <td>Joe</td>
+ <td>Sixpack</td>
+ <td>English</td>
+ </tr>
+ </tr>
+ <td>Joe</td>
<td>Sixpack</td>
<td>English</td>
</tr>
diff --git a/lib/type.less b/lib/type.less
index 407a20ec2..bdc99acdf 100644
--- a/lib/type.less
+++ b/lib/type.less
@@ -205,6 +205,11 @@ pre {
white-space: pre-wrap;
word-break: break-all;
+ // Make prettyprint styles more spaced out for readability
+ &.prettyprint {
+ margin-bottom: @baseLineHeight;
+ }
+
// Account for some code outputs that place code tags in pre tags
code {
padding: 0;