mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Example pages: Remove usages of defunct .page-header class
/fyi @mdo Note: The selector in dashboard.css that used .page-header was superfluous because the margin that it zeroed was already zero even without that declaration. [skip sauce]
This commit is contained in:
parent
8836a4c645
commit
74808de4d4
5 changed files with 5 additions and 10 deletions
|
@ -80,9 +80,6 @@ body {
|
|||
padding-left: 40px;
|
||||
}
|
||||
}
|
||||
.main .page-header {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-9 offset-sm-3 col-md-10 offset-md-2 main">
|
||||
<h1 class="page-header">Dashboard</h1>
|
||||
<h1>Dashboard</h1>
|
||||
|
||||
<div class="row placeholders">
|
||||
<div class="col-xs-6 col-sm-3 placeholder">
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="page-header">
|
||||
<h1>Bootstrap grid examples</h1>
|
||||
<p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
|
||||
</div>
|
||||
<h1>Bootstrap grid examples</h1>
|
||||
<p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
|
||||
|
||||
<h3>Five grid tiers</h3>
|
||||
<p>There are five tiers to the Bootstrap grid system, one for each range of devices we support. Each tier starts at a minimum viewport size and automatically applies to the larger devices unless overridden.</p>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
<!-- Begin page content -->
|
||||
<div class="container">
|
||||
<div class="page-header m-t-1">
|
||||
<div class="m-t-1">
|
||||
<h1>Sticky footer with fixed navbar</h1>
|
||||
</div>
|
||||
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<!-- Begin page content -->
|
||||
<div class="container">
|
||||
<div class="page-header m-t-1">
|
||||
<div class="m-t-1">
|
||||
<h1>Sticky footer</h1>
|
||||
</div>
|
||||
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
|
||||
|
|
Loading…
Reference in a new issue