]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs css reorg
authorMark Otto <otto@github.com>
Thu, 9 May 2013 05:50:41 +0000 (22:50 -0700)
committerMark Otto <otto@github.com>
Thu, 9 May 2013 05:50:41 +0000 (22:50 -0700)
docs/assets/css/docs.css

index 97c998b037d88f356acb54578bc6fa3909f1b068..50c600c127fc6fe0e003d9c9ba4fc12cff3e553f 100644 (file)
 
 body {
   position: relative; /* For scrollyspy */
-  padding-top: 50px;
+  padding-top: 50px; /* Account for fixed navbar */
 }
 
-/* Top nav and header */
+
+
+/* Top nav and header
+-------------------------------------------------- */
+
 .bs-docs-nav {
   background-color: #b94a48;
 }
@@ -34,45 +38,6 @@ body {
 }
 
 
-hr {
-  margin-top: 30px;
-  margin-bottom: 30px;
-}
-
-
-
-.bs-docs-dl-options h4 {
-  margin-top: 15px;
-  margin-bottom: 5px;
-}
-
-/*
-.bs-docs-container,
-.bs-home-container {
-  padding-left: 15px;
-  padding-right: 15px;
-}
-*/
-
-/* Side notes for calling out things */
-.bs-docs-sidenote {
-  margin: 20px 0;
-  padding: 15px 30px 15px 15px;
-  background-color: #fcf2f2;
-  border-left: 5px solid #df7c7b;
-}
-.bs-docs-sidenote h4 {
-  margin-top: 0;
-}
-.bs-docs-sidenote p:last-child {
-  margin-bottom: 0;
-}
-.bs-docs-sidenote code,
-.bs-docs-sidenote .highlight {
-  background-color: #fff;
-}
-
-
 
 /* Homepage masthead
 -------------------------------------------------- */
@@ -202,6 +167,28 @@ hr {
 
 
 
+/* Side notes for calling out things
+-------------------------------------------------- */
+
+.bs-docs-sidenote {
+  margin: 20px 0;
+  padding: 15px 30px 15px 15px;
+  background-color: #fcf2f2;
+  border-left: 5px solid #df7c7b;
+}
+.bs-docs-sidenote h4 {
+  margin-top: 0;
+}
+.bs-docs-sidenote p:last-child {
+  margin-bottom: 0;
+}
+.bs-docs-sidenote code,
+.bs-docs-sidenote .highlight {
+  background-color: #fff;
+}
+
+
+
 /* Special grid styles
 -------------------------------------------------- */
 
@@ -407,6 +394,7 @@ hr {
 }
 
 
+
 /* Example templates
 -------------------------------------------------- */
 
@@ -629,17 +617,14 @@ input.focused {
   color: #bebec5;
 }
 
-
-
-/* Docs gallery
--------------------------------------------------- */
-
-.bs-docs-gallery .thumbnail {
-  max-width: 400px;
-  margin: 0 auto 20px;
+/* Better spacing on download options in getting started */
+.bs-docs-dl-options h4 {
+  margin-top: 15px;
+  margin-bottom: 5px;
 }
 
 
+
 /* Responsive variations
 -------------------------------------------------- */