0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

Better grid template; link color change in docs navbar

This commit is contained in:
Mark Otto 2013-05-16 22:11:31 -07:00
parent 551d729083
commit 9ecde4aab7

View File

@ -11,9 +11,16 @@ title: Grid template
padding-right: 15px; padding-right: 15px;
} }
h4 {
margin-top: 25px;
}
.row { .row {
margin-bottom: 20px; margin-bottom: 20px;
} }
.row .row {
margin-top: 10px;
margin-bottom: 0;
}
[class*="col-lg-"] { [class*="col-lg-"] {
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
@ -49,6 +56,19 @@ title: Grid template
</div> </div>
<h4>Full width, single column</h4> <h4>Full width, single column</h4>
<p class="text-muted">No grid classes are necessary for full-width elements.</p> <p class="text-warning">No grid classes are necessary for full-width elements.</p>
<h4>Two columns with two nested columns</h4>
<div class="row">
<div class="col col-lg-8">
.col .col-lg-8
<div class="row">
<div class="col col-lg-6">.col .col-lg-6</div>
<div class="col col-lg-6">.col .col-lg-6</div>
</div>
</div>
<div class="col col-lg-4">.col .col-lg-4</div>
</div>
</div> <!-- /container --> </div> <!-- /container -->