]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Refactor some common classes from docs css and examples, then prevent examples from...
authorMark Otto <otto@github.com>
Mon, 18 Feb 2013 02:58:40 +0000 (18:58 -0800)
committerMark Otto <otto@github.com>
Mon, 18 Feb 2013 02:58:40 +0000 (18:58 -0800)
docs/_includes/colophon.html
docs/_includes/header.html
docs/assets/css/docs.css
docs/examples/jumbotron-narrow.html

index ae92db140c5a0b05d1d4fa9d865f6cfc0b173ac3..5c15d7c7874a9b962ee8eb1e941fea3a844ba92a 100644 (file)
@@ -1,6 +1,6 @@
 <!-- Footer
 ================================================== -->
-<footer class="footer">
+<footer class="bs-docs-footer">
   <div class="container">
 
     <div class="bs-docs-social">
index fe23d008e66d58f304932d63f81a15a884d990b5..a387930baf9835d25d73d8ca4f85eeaaec5bcef2 100644 (file)
 <!-- Bootstrap core CSS -->
 <link href="/assets/css/bootstrap.css" rel="stylesheet">
 
+{% if layout == "default" %}
 <!-- Documentation extras -->
 <link href="/assets/css/docs.css" rel="stylesheet">
 <link href="/assets/css/pygments-manni.css" rel="stylesheet">
+{% endif %}
 
 <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
 <!--[if lt IE 9]>
index a1ac79d3f7e2681b91bb098e56779cbe63f10377..e35badfc9b653fe6c39a532768e10314a5f87f11 100644 (file)
@@ -15,7 +15,7 @@ body {
 
 /*  */
 .bs-docs-body > .container,
-.bs-docs-body .footer .container {
+.bs-docs-footer .container {
   padding-left:  15px;
   padding-right: 15px;
 }
@@ -106,23 +106,23 @@ section > ul li {
 /* Marketing section of Overview
 -------------------------------------------------- */
 
-.marketing {
+.bs-docs-marketing {
   text-align: center;
   color: #5a5a5a;
 }
-.marketing h1 {
+.bs-docs-marketing h1 {
   margin: 60px 0 10px;
   font-size: 50px;
   line-height: 1;
 }
-.marketing h2 {
+.bs-docs-marketing h2 {
   margin-bottom: 5px;
 }
-.marketing p {
+.bs-docs-marketing p {
   font-size: 16px;
   line-height: 1.4;
 }
-.marketing .marketing-byline {
+.bs-docs-marketing .marketing-byline {
   margin-bottom: 40px;
   font-size: 21px;
   font-weight: 300;
@@ -436,13 +436,13 @@ section > ul li {
 /* Footer
 -------------------------------------------------- */
 
-.footer {
+.bs-docs-footer {
   text-align: center;
   padding: 30px 0;
   margin-top: 100px;
   border-top: 1px solid #e5e5e5;
 }
-.footer p {
+.bs-docs-footer p {
   margin-bottom: 0;
   color: #777;
 }
index b2c037a9e7a41bf7e8a15bafeaf246e46b4e3a27..c39b5397b3806c63330a6a868e783e6fa31beabd 100644 (file)
@@ -31,6 +31,13 @@ title: Narrow page template
     padding-bottom: 19px;
   }
 
+  /* Custom page footer */
+  .footer {
+    padding-top: 19px;
+    color: #777;
+    border-top: 1px solid #e5e5e5;
+  }
+
   /* Custom container */
   .container-narrow {
     margin: 0 auto;
@@ -119,8 +126,6 @@ title: Narrow page template
     </div>
   </div>
 
-  <hr>
-
   <div class="footer">
     <p>&copy; Company 2013</p>
   </div>