]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Example pages: Remove usages of defunct .page-header class 19341/head
authorChris Rebert <code@chrisrebert.com>
Sun, 28 Feb 2016 02:16:22 +0000 (18:16 -0800)
committerChris Rebert <code@chrisrebert.com>
Sun, 28 Feb 2016 02:16:22 +0000 (18:16 -0800)
/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]

docs/examples/dashboard/dashboard.css
docs/examples/dashboard/index.html
docs/examples/grid/index.html
docs/examples/sticky-footer-navbar/index.html
docs/examples/sticky-footer/index.html

index e0e3632b89a33dc5c7ca7b5c28a4d6f83f874bf6..e7c6a21dfd38de6d6b6ec989c8a527ac71f290c3 100644 (file)
@@ -80,9 +80,6 @@ body {
     padding-left: 40px;
   }
 }
-.main .page-header {
-  margin-top: 0;
-}
 
 
 /*
index 65cc380cbcff75c9cc8b890e3ebae55b9a186136..bee33756b5801cdbe112d50dc27f7117a0f7a4ce 100644 (file)
@@ -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">
index 9e831115b40e9e3032d57ba5fe5bf2889db04774..4723f0e8d9a7ce4b8a3217bc52b99e4c2ed0caf1 100644 (file)
   <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>
index c1555759b8dff73d7a82de647cc2e64eacc60b94..9e2db39d9240be3a094774d36f1923908c5c908c 100644 (file)
@@ -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>
index 3af8b13ff7390b36ec19fef1af7a75291afe8b62..bc16be25199eab285728e80cefd73318183d4bf6 100644 (file)
@@ -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>