aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/src
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-07 19:40:15 -0700
committerMark Otto <[email protected]>2014-07-07 19:40:15 -0700
commit2ccbc3868527bae457523b2ed285b46509971c36 (patch)
tree755965d61bbc0f9cc9dc4ca5cc32a497faf071b1 /docs/assets/css/src
parent861cff8756fa4b39d749bbd3b86035e33bf217c1 (diff)
downloadbootstrap-2ccbc3868527bae457523b2ed285b46509971c36.tar.xz
bootstrap-2ccbc3868527bae457523b2ed285b46509971c36.zip
Cut down on homepage file size; reorg some docs CSS
Diffstat (limited to 'docs/assets/css/src')
-rw-r--r--docs/assets/css/src/docs.css120
1 files changed, 53 insertions, 67 deletions
diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css
index f58c1e98e..54cd991e3 100644
--- a/docs/assets/css/src/docs.css
+++ b/docs/assets/css/src/docs.css
@@ -9,27 +9,6 @@
/*
* Bootstrap Documentation
* Special styles for presenting Bootstrap's documentation and code examples.
- *
- * Table of contents:
- *
- * Scaffolding
- * Main navigation
- * Footer
- * Social buttons
- * Homepage
- * Page headers
- * Old docs callout
- * Ads
- * Side navigation
- * Docs sections
- * Callouts
- * Grid styles
- * Examples
- * Code snippets (highlight)
- * Responsive tests
- * Glyphicons
- * Customizer
- * Miscellaneous
*/
@@ -484,39 +463,57 @@ body {
margin-right: auto;
margin-left: auto;
}
- .bs-docs-featured-sites .col-sm-3:first-child img {
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- }
- .bs-docs-featured-sites .col-sm-3:last-child img {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- }
-
.bs-docs-featurette .img-responsive {
margin-top: 0;
}
}
-/* Featured sites */
+
+/*
+ * Featured sites
+ *
+ * Homepage thumbnails from the Expo.
+ */
+
.bs-docs-featured-sites {
margin-right: -1px;
margin-left: -1px;
}
-.bs-docs-featured-sites .col-sm-3 {
- padding-right: 1px;
- padding-left: 1px;
+.bs-docs-featured-sites .col-xs-6 {
+ padding: 1px;
}
.bs-docs-featured-sites .img-responsive {
- margin-bottom: 15px;
+ margin-top: 0;
}
-@media (min-width: 480px) {
- .bs-docs-featured-sites .img-responsive {
- margin-bottom: 0;
+
+@media (min-width: 768px) {
+ .bs-docs-featured-sites .col-sm-3:first-child img {
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
+ }
+ .bs-docs-featured-sites .col-sm-3:last-child img {
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
}
}
-/* Example thumbnails */
+
+/*
+ * Examples
+ *
+ * Linked docs examples.
+ */
+
+.bs-examples .thumbnail {
+ margin-bottom: 10px;
+}
+.bs-examples h4 {
+ margin-bottom: 5px;
+}
+.bs-examples p {
+ margin-bottom: 20px;
+}
+
@media (max-width: 480px) {
.bs-examples {
margin-right: -10px;
@@ -1456,34 +1453,6 @@ h1[id] {
/*
- * Miscellaneous
- *
- * Odds and ends for optimum docs display.
- */
-
-/* Examples gallery: space out content better */
-.bs-examples .thumbnail {
- margin-bottom: 10px;
-}
-.bs-examples h4 {
- margin-bottom: 5px;
-}
-.bs-examples p {
- margin-bottom: 20px;
-}
-
-/* Pseudo :focus state for showing how it looks in the docs */
-#focusedInput {
- border-color: rgb(204,204,204); /* Restate unfocused value to make CSSLint happy that there's a pre-CSS3 fallback*/
- border-color: rgba(82,168,236,.8);
- outline: 0;
- outline: thin dotted \9; /* IE6-9 */
- -webkit-box-shadow: 0 0 8px rgba(82,168,236,.6);
- box-shadow: 0 0 8px rgba(82,168,236,.6);
-}
-
-
-/*
* ZeroClipboard styles
*/
@@ -1516,3 +1485,20 @@ h1[id] {
display: block;
}
}
+
+
+/*
+ * Miscellaneous
+ *
+ * Odds and ends for optimum docs display.
+ */
+
+/* Pseudo :focus state for showing how it looks in the docs */
+#focusedInput {
+ border-color: rgb(204,204,204); /* Restate unfocused value to make CSSLint happy that there's a pre-CSS3 fallback*/
+ border-color: rgba(82,168,236,.8);
+ outline: 0;
+ outline: thin dotted \9; /* IE6-9 */
+ -webkit-box-shadow: 0 0 8px rgba(82,168,236,.6);
+ box-shadow: 0 0 8px rgba(82,168,236,.6);
+}