aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-08-12 16:40:42 -0700
committerChris Rebert <[email protected]>2013-08-12 17:43:38 -0700
commit81ab8ffae0a89e38c105753fc865882e6345b232 (patch)
tree60715752076de8d7c4a2ec052c91589ac8d43968
parent520bc8cf37c0b5424427d22ecc3190b6abf461d7 (diff)
downloadbootstrap-81ab8ffae0a89e38c105753fc865882e6345b232.tar.xz
bootstrap-81ab8ffae0a89e38c105753fc865882e6345b232.zip
Headings docs: use put <hN>s within <td>s instead of <th>s
-rw-r--r--assets/css/docs.css8
-rw-r--r--css.html12
2 files changed, 9 insertions, 11 deletions
diff --git a/assets/css/docs.css b/assets/css/docs.css
index 196fe1f2c..b5725c923 100644
--- a/assets/css/docs.css
+++ b/assets/css/docs.css
@@ -414,17 +414,15 @@ body {
}
/* Typography */
-.bs-example-type .table td {
+.bs-example-type .table td:last-child {
color: #999;
vertical-align: middle;
}
-.bs-example-type .table td,
-.bs-example-type .table th {
+.bs-example-type .table td {
padding: 15px 0;
border-color: #eee;
}
-.bs-example-type .table tr:first-child td,
-.bs-example-type .table tr:first-child th {
+.bs-example-type .table tr:first-child td {
border-top: 0;
}
.bs-example-type h1,
diff --git a/css.html b/css.html
index 1e73737f3..f035ff616 100644
--- a/css.html
+++ b/css.html
@@ -585,27 +585,27 @@ base_url: "../"
<table class="table">
<tbody>
<tr>
- <th><h1>Bootstrap heading</h1></th>
+ <td><h1>Bootstrap heading</h1></td>
<td>Semibold 38px</td>
</tr>
<tr>
- <th><h2>Bootstrap heading</h2></th>
+ <td><h2>Bootstrap heading</h2></td>
<td>Semibold 32px</td>
</tr>
<tr>
- <th><h3>Bootstrap heading</h3></th>
+ <td><h3>Bootstrap heading</h3></td>
<td>Semibold 24px</td>
</tr>
<tr>
- <th><h4>Bootstrap heading</h4></th>
+ <td><h4>Bootstrap heading</h4></td>
<td>Semibold 18px</td>
</tr>
<tr>
- <th><h5>Bootstrap heading</h5></th>
+ <td><h5>Bootstrap heading</h5></td>
<td>Semibold 16px</td>
</tr>
<tr>
- <th><h6>Bootstrap heading</h6></th>
+ <td><h6>Bootstrap heading</h6></td>
<td>Semibold 12px</td>
</tr>
</tbody>