]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix some of the docs styles at 480 to 768
authorMark Otto <mark.otto@twitter.com>
Sun, 30 Oct 2011 01:11:17 +0000 (18:11 -0700)
committerMark Otto <mark.otto@twitter.com>
Sun, 30 Oct 2011 01:11:17 +0000 (18:11 -0700)
docs/assets/css/docs.css

index 79c90477430ce92051407018bc23b7f17a79e107..52738d808bc698fd5fc2847ea541c264a111b8d2 100644 (file)
@@ -348,11 +348,6 @@ h2 + table {
     font-size: 18px;
     line-height: 24px;
   }
-  .jumbotron .benefits {
-    position: relative;
-    width: auto;
-    margin: 36px 0;
-  }
   .jumbotron .btn {
     display: block;
     font-size: 18px;
@@ -365,6 +360,23 @@ h2 + table {
     margin: 40px 0 0;
   }
 
+}
+
+
+@media (max-width: 768px) {
+
+  /* Hide the nav for now */
+  body > .navbar-fixed .nav {
+    display: none;
+  }
+
+  /* Adjust the jumbotron */
+  .jumbotron .benefits {
+    position: relative;
+    width: auto;
+    margin: 36px 0;
+  }
+
   /* Popovers */
   .large-bird {
     display: none;
@@ -395,7 +407,7 @@ h2 + table {
 
   .jumbotron h1,
   .jumbotron p {
-    margin-right: 40%;
+    margin-right: 0;
   }
 
 }