]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update to docs to cleanup pagination for smartphones, fix some pagination inconsistencies
authorMark Otto <mark.otto@twitter.com>
Thu, 27 Oct 2011 04:04:14 +0000 (21:04 -0700)
committerMark Otto <mark.otto@twitter.com>
Thu, 27 Oct 2011 04:04:14 +0000 (21:04 -0700)
bootstrap.css
bootstrap.min.css
docs/assets/css/docs.css
docs/index.html
lib/type.less

index c055a79c9307899a19632262fd4b351dc0fc66d7..0baa88d1104bdbd9cbb67abebc6b88283f4aa81b 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Sat Oct 22 22:49:01 PDT 2011
+ * Date: Wed Oct 26 21:03:54 PDT 2011
  */
 /* Reset.less
  * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -479,15 +479,13 @@ blockquote {
   padding-left: 15px;
 }
 blockquote p {
-  font-size: 14px;
+  font-size: 16px;
   font-weight: 300;
-  line-height: 18px;
+  line-height: 22.5px;
   margin-bottom: 0;
 }
 blockquote small {
   display: block;
-  font-size: 12px;
-  font-weight: 300;
   line-height: 18px;
   color: #bfbfbf;
 }
index 0aa8892072269087d282effb3982a6e3c2c5338b..b443f02e39638bb0f7b8d431e579a47da03837eb 100644 (file)
@@ -84,8 +84,8 @@ strong{font-style:inherit;font-weight:bold;}
 em{font-style:italic;font-weight:inherit;line-height:inherit;}
 .muted{color:#bfbfbf;}
 abbr{font-size:90%;text-transform:uppercase;border-bottom:1px dotted #ddd;cursor:help;}
-blockquote{margin-bottom:18px;border-left:5px solid #eee;padding-left:15px;}blockquote p{font-size:14px;font-weight:300;line-height:18px;margin-bottom:0;}
-blockquote small{display:block;font-size:12px;font-weight:300;line-height:18px;color:#bfbfbf;}blockquote small:before{content:'\2014 \00A0';}
+blockquote{margin-bottom:18px;border-left:5px solid #eee;padding-left:15px;}blockquote p{font-size:16px;font-weight:300;line-height:22.5px;margin-bottom:0;}
+blockquote small{display:block;line-height:18px;color:#bfbfbf;}blockquote small:before{content:'\2014 \00A0';}
 address{display:block;line-height:18px;margin-bottom:18px;}
 code,pre{padding:0 3px 2px;font-family:Menlo, Monaco, Andale Mono, Courier New, monospace;font-size:12px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
 code{background-color:#fee9cc;color:rgba(0, 0, 0, 0.75);padding:1px 3px;}
index 0a31ac9984394934a6ab4ab2b872d605efa2b693..59c64e4a7b266dfcf804916085b6cb9f212b3990 100644 (file)
@@ -328,10 +328,18 @@ h2 + table {
     display: block;
     line-height: 20px;
   }
+  /* More space between sections */
+  h2 {
+    margin-top: 27px;
+  }
+  h3 {
+    margin-top: 18px;
+  }
 
   /* Adjust the jumbotron */
   .jumbotron h1,
   .jumbotron p {
+    text-align: center;
     margin-right: 0;
   }
   .jumbotron h1 {
@@ -349,8 +357,15 @@ h2 + table {
     margin: 36px 0;
   }
   .jumbotron .btn {
+    display: block;
     font-size: 18px;
     padding: 10px 14px;
+    margin: 0 auto 10px;
+  }
+
+  /* Don't space out quick links so much */
+  .quick-links {
+    margin: 40px 0 0;
   }
 
   /* Popovers */
@@ -361,6 +376,15 @@ h2 + table {
     margin-left: 0;
   }
 
+  /* Space out the show-grid examples */
+  .show-grid [class*="span"] {
+    margin-bottom: 5px;
+  }
+
+  /* Unfloat the back to top link in footer */
+  .footer .pull-right {
+    float: none;
+  }
 
 }
 
index 2cb5eb8e40feb0c5c19521a0ac713b5875f723d4..cf3b8b8052aa35fdee59159ad6cec6d6e6cb07d6 100644 (file)
           <li><a href="#">2</a></li>
           <li><a href="#">3</a></li>
           <li><a href="#">4</a></li>
-          <li><a href="#">5</a></li>
-          <li class="next"><a href="#">Next &raquo;</a></li>
+          <li class="next"><a href="#">Next &rarr;</a></li>
         </ul>
       </div>
       <div class="pagination">
         <ul>
-          <li class="prev"><a href="#">&larr; Previous</a></li>
+          <li class="prev"><a href="#">&larr;</a></li>
           <li class="active"><a href="#">10</a></li>
           <li><a href="#">11</a></li>
-          <li><a href="#">12</a></li>
           <li class="disabled"><a href="#">…</a></li>
-          <li><a href="#">19</a></li>
           <li><a href="#">20</a></li>
           <li><a href="#">21</a></li>
-          <li class="next"><a href="#">Next &raquo;</a></li>
+          <li class="next"><a href="#">&rarr;</a></li>
         </ul>
       </div>
       <div class="pagination">
         <ul>
-          <li class="prev"><a href="#">&larr; Previous</a></li>
+          <li class="prev"><a href="#">&larr;</a></li>
           <li><a href="#">10</a></li>
           <li><a href="#">11</a></li>
-          <li><a href="#">12</a></li>
+          <li class="active"><a href="#">12</a></li>
           <li><a href="#">13</a></li>
           <li><a href="#">14</a></li>
-          <li class="active"><a href="#">15</a></li>
-          <li><a href="#">16</a></li>
-          <li><a href="#">17</a></li>
-          <li><a href="#">18</a></li>
-          <li><a href="#">19</a></li>
-          <li><a href="#">20</a></li>
-          <li class="next"><a href="#">Next &raquo;</a></li>
+          <li class="next"><a href="#">&rarr;</a></li>
         </ul>
       </div>
 <pre class="prettyprint linenums">
index d092b203daba6d1eaf908dcbf4ef6026b5d93dd1..7f8044cd817c38ef118ace8ab7e34d5339c90716 100644 (file)
@@ -149,12 +149,12 @@ blockquote {
   border-left: 5px solid #eee;
   padding-left: 15px;
   p {
-    #font > .shorthand(300,14px,@baseLineHeight);
+    #font > .shorthand(300,16px,@baseLineHeight * 1.25);
     margin-bottom: 0;
   }
   small {
     display: block;
-    #font > .shorthand(300,12px,@baseLineHeight);
+    line-height: @baseLineHeight;
     color: @grayLight;
     &:before {
       content: '\2014 \00A0';