]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
make back to top and big headings only for tablets and up
authorMark Otto <otto@github.com>
Tue, 9 Apr 2013 17:20:50 +0000 (10:20 -0700)
committerMark Otto <otto@github.com>
Tue, 9 Apr 2013 17:20:50 +0000 (10:20 -0700)
docs/assets/css/docs.css

index 0f20ec6d48197f63f9a7bebd379ece270ab65f35..b6117e927906d5f72aa28425f3e91d28204e2242 100644 (file)
@@ -32,26 +32,6 @@ body {
   padding-right: 15px;
 }
 
-/* Back to top link */
-.bs-docs-top {
-  float: left;
-  padding: 7px 15px;
-  font-weight: 500;
-  color: #999;
-  background-color: #eee;
-  border-radius: 4px;
-}
-.bs-docs-top:hover {
-  color: #fff;
-  text-decoration: none;
-  background-color: #999;
-}
-.bs-docs-top.affix {
-  position: fixed;
-  right:  15px;
-  bottom: 15px;
-}
-
 /* Side notes for calling out things */
 .bs-docs-sidenote {
   margin: 20px 0;
@@ -92,11 +72,6 @@ section > ul li {
   color: #b94a48;
   border-bottom: 5px solid #b94a48;
 }
-.bs-docs-section-header h1 {
-  font-size: 80px;
-  font-size: 8rem;
-  line-height: 1;
-}
 
 /* Base class */
 .bs-docs-jumbotron {
@@ -728,6 +703,32 @@ input.focused {
 /* Tablets and up */
 @media screen and (min-width: 768px) {
 
+  /* Back to top link */
+  .bs-docs-top {
+    float: left;
+    padding: 7px 15px;
+    font-weight: 500;
+    color: #999;
+    background-color: #eee;
+    border-radius: 4px;
+  }
+  .bs-docs-top:hover {
+    color: #fff;
+    text-decoration: none;
+    background-color: #999;
+  }
+  .bs-docs-top.affix {
+    position: fixed;
+    right:  15px;
+    bottom: 15px;
+  }
+
+  .bs-docs-section-header h1 {
+    font-size: 80px;
+    font-size: 8rem;
+    line-height: 1;
+  }
+
   /* Account for fixed navbar (which is static to start) */
   .bs-docs-docs {
     padding-left: 260px;