]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
quick docs patch for spacing, remove glyphicons homepage link, and add ads to homepage 11212/head
authorMark Otto <otto@github.com>
Wed, 2 Oct 2013 05:11:51 +0000 (00:11 -0500)
committerMark Otto <otto@github.com>
Wed, 2 Oct 2013 05:11:51 +0000 (00:11 -0500)
_layouts/home.html
assets/css/docs.css

index cc6e2681faee38bf6bc346651de9239d668d5289..187bc21b68ddc2666ac85cd640473fafca1f9b7f 100644 (file)
@@ -15,6 +15,8 @@
     {{ content }}
 
     <footer class="container" role="contentinfo">
+      {% include ads.html %}
+
       {% include social-buttons.html %}
 
       <ul class="bs-masthead-links">
@@ -30,9 +32,6 @@
         <li>
           <a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
         </li>
-        <li>
-          <a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
-        </li>
         <li>
           <a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
         </li>
index c4551cd16414330ccac3660050fdff16e187cb61..3042b08f3d8b723fd94f667d00bc6fc80587357e 100644 (file)
@@ -153,13 +153,11 @@ body {
  */
 
 .bs-social {
-  margin-top: 20px;
-  margin-bottom: 20px;
   text-align: center;
 }
 .bs-social-buttons {
   display: inline-block;
-  margin-bottom: 0;
+  margin-bottom: 20px;
   padding-left: 0;
   list-style: none;
 }
@@ -184,9 +182,6 @@ body {
   .bs-social {
     text-align: left;
   }
-  .bs-social-buttons li:first-child {
-    padding-left: 0;
-  }
 }
 
 
@@ -222,26 +217,23 @@ body {
   line-height: 1;
   color: #fff;
 }
-.bs-masthead .btn-outline {
+.bs-masthead .btn-outline-inverse {
   margin-top: 20px;
   margin-bottom: 20px;
   padding: 18px 24px;
-  font-size: 21px;
+  font-size: 24px;
 }
 
 /* Links to project-level content like the repo, Expo, etc */
 .bs-masthead-links {
-  margin-top: 20px;
   margin-bottom: 20px;
-  padding: 0 15px;
+  padding-left: 0;
   list-style: none;
   text-align: center;
 }
 .bs-masthead-links li {
-  display: inline;
-}
-.bs-masthead-links li + li {
-  margin-left: 20px;
+  display: inline-block;
+  padding: 4px 8px;
 }
 .bs-masthead-links a {
   color: #fff;
@@ -378,6 +370,40 @@ body {
 }
 
 
+/* Homepage variations */
+.bs-docs-home .carbonad {
+  margin: 0 -15px 40px !important;
+}
+@media screen and (min-width: 480px) {
+  .bs-docs-home .carbonad {
+    width: 330px !important;
+    margin: 0 auto 40px !important;
+    border-radius: 4px;
+  }
+}
+@media screen and (min-width: 768px) {
+  .bs-docs-home .carbonad {
+    float: left;
+    width: 330px !important;
+    margin: 0 0 30px !important;
+  }
+  .bs-docs-home .bs-social,
+  .bs-docs-home .bs-masthead-links {
+    margin-left: 350px;
+  }
+}
+@media screen and (min-width: 992px) {
+  .bs-docs-home .carbonad {
+    position: static;
+  }
+}
+@media screen and (min-width: 1170px) {
+  .bs-docs-home .carbonad {
+    margin-top: -25px !important;
+  }
+}
+
+
 /*
  * Callout for 2.3.2 docs
  *