Commit 127c0d0b authored by Mark Otto's avatar Mark Otto

make dl and child elements less specific

parent f43f2c0e
......@@ -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: Sun Jan 15 12:53:17 PST 2012
* Date: Sun Jan 15 13:11:42 PST 2012
*/
html, body {
margin: 0;
......@@ -418,13 +418,13 @@ ul.unstyled {
dl {
margin-bottom: 18px;
}
dl dt, dl dd {
dt, dd {
line-height: 18px;
}
dl dt {
dt {
font-weight: bold;
}
dl dd {
dd {
margin-left: 9px;
}
hr {
......
......@@ -73,9 +73,10 @@ ul{list-style:disc;}
ol{list-style:decimal;}
li{line-height:18px;}
ul.unstyled{margin-left:0;list-style:none;}
dl{margin-bottom:18px;}dl dt,dl dd{line-height:18px;}
dl dt{font-weight:bold;}
dl dd{margin-left:9px;}
dl{margin-bottom:18px;}
dt,dd{line-height:18px;}
dt{font-weight:bold;}
dd{margin-left:9px;}
hr{margin:18px 0;border:0;border-top:1px solid #e5e5e5;border-bottom:1px solid #fff;}
strong{font-style:inherit;font-weight:bold;}
em{font-style:italic;font-weight:inherit;line-height:inherit;}
......
......@@ -865,33 +865,29 @@
<p>The default pagination component is flexible and works in a number of variations.</p>
<div class="pagination">
<ul>
<li class="disabled"><a href="#">&larr; Prev</a></li>
<li class="disabled"><a href="#">&laquo;</a></li>
<li class="active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">Next &rarr;</a></li>
<li><a href="#">&raquo;</a></li>
</ul>
</div>
<div class="pagination">
<ul>
<li><a href="#">&larr;</a></li>
<li><a href="#">&laquo;</a></li>
<li><a href="#">10</a></li>
<li><a href="#">11</a></li>
<li class="active"><a href="#">12</a></li>
<li><a href="#">13</a></li>
<li><a href="#">14</a></li>
<li><a href="#">&rarr;</a></li>
<li class="active"><a href="#">11</a></li>
<li><a href="#">12</a></li>
<li><a href="#">&raquo;</a></li>
</ul>
</div>
<div class="pagination">
<ul>
<li><a href="#">&larr;</a></li>
<li class="active"><a href="#">10</a></li>
<li><a href="#">11</a></li>
<li class="disabled"><a href="#"></a></li>
<li class="disabled"><a href="#">...</a></li>
<li><a href="#">20</a></li>
<li><a href="#">21</a></li>
<li><a href="#">&rarr;</a></li>
</ul>
</div>
......
......@@ -99,15 +99,16 @@ ul.unstyled {
// Description Lists
dl {
margin-bottom: @baseLineHeight;
dt, dd {
}
dt,
dd {
line-height: @baseLineHeight;
}
dt {
}
dt {
font-weight: bold;
}
dd {
}
dd {
margin-left: @baseLineHeight / 2;
}
}
// MISC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment