]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add bs-docs-examples styles from other branch
authorMark Otto <markotto@twitter.com>
Tue, 5 Jun 2012 03:57:58 +0000 (20:57 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 5 Jun 2012 03:57:58 +0000 (20:57 -0700)
docs/assets/css/docs.css

index 92a4ec8e67f279f4038380f64ff049ebb03039df..2d4eedefed4fd6dfedd9b52a507178bcd653a475 100644 (file)
@@ -563,6 +563,53 @@ form.well {
   background-color: #fff;
 }
 
+/* Docs examples
+------------------------- */
+.bs-docs-example {
+  overflow: auto;
+  position: relative;
+  margin: 15px 0;
+  padding: 39px 19px 14px;
+  background-color: #fff;
+  border: 1px solid #e5e5e5;
+  -webkit-border-radius: 4px;
+     -moz-border-radius: 4px;
+          border-radius: 4px;
+}
+.bs-docs-example:after {
+  content: "Example";
+  position: absolute;
+  top: -1px;
+  left: -1px;
+  padding: 3px 7px;
+  font-family: "Open Sans", sans-serif;
+  font-size: 12px;
+  font-weight: bold;
+  background-color: #f5f5f5;
+  border: 1px solid #e5e5e5;
+  color: #9da0a4;
+  -webkit-border-radius: 4px 0 4px 0;
+     -moz-border-radius: 4px 0 4px 0;
+          border-radius: 4px 0 4px 0;
+}
+.bs-docs-example + .prettyprint {
+  margin-top: -20px;
+  padding-top: 15px;
+}
+.bs-docs-example,
+.bs-docs-example > p {
+  font-size: 13px;
+  line-height: 18px;
+  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.bs-docs-example p:last-child {
+  margin-bottom: 0;
+}
+.bs-docs-example .lead {
+  font-size: 18px;
+  line-height: 24px;
+}
+
 /* Responsive table
 ------------------------- */
 .responsive-utilities th small {