]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
move glyphicons styles to docs css
authorMark Otto <otto@github.com>
Mon, 19 Aug 2013 02:04:30 +0000 (19:04 -0700)
committerMark Otto <otto@github.com>
Mon, 19 Aug 2013 02:04:30 +0000 (19:04 -0700)
assets/css/docs.css
components.html

index 446b6afe91c3332794e4f417e6004539835fa801..fb3e2c689442ea55e7e51bee82be312accc787ef 100644 (file)
@@ -19,6 +19,7 @@
  * Examples
  * Code snippets (highlight)
  * Responsive tests
+ * Glyphicons
  * Customizer
  * Miscellaneous
  */
@@ -944,6 +945,46 @@ body {
 }
 
 
+/*
+ * Glyphicons
+ *
+ * Special styles for displaying the icons and their classes in the docs.
+ */
+
+.bs-glyphicons {
+  padding-left: 0;
+  padding-bottom: 1px;
+  margin-bottom: 20px;
+  list-style: none;
+  overflow: hidden;
+}
+.bs-glyphicons li {
+  float: left;
+  width: 25%;
+  height: 115px;
+  padding: 10px;
+  margin: 0 -1px -1px 0;
+  font-size: 12px;
+  line-height: 1.4;
+  text-align: center;
+  border: 1px solid #ddd;
+}
+.bs-glyphicons .glyphicon {
+  display: block;
+  margin: 5px auto 10px;
+  font-size: 24px;
+}
+.bs-glyphicons li:hover {
+  background-color: rgba(86,61,124,.1);
+}
+
+@media (min-width: 768px) {
+  .bs-glyphicons li {
+    width: 12.5%;
+  }
+}
+
+
 /*
  * Customizer
  *
index 7475fa1086a0412c6d8f7640aec8e7638b6821df..bbc84c8824b831ea363e4a60f1409a6b3c0b4622 100644 (file)
@@ -7,45 +7,6 @@ base_url: "../"
 ---
 
 
-<style>
-/* Icons
--------------------------------------------------- */
-
-.bs-glyphicons {
-  padding-left: 0;
-  padding-bottom: 1px;
-  margin-bottom: 20px;
-  list-style: none;
-  overflow: hidden;
-}
-.bs-glyphicons li {
-  float: left;
-  width: 25%;
-  height: 115px;
-  padding: 10px;
-  margin: 0 -1px -1px 0;
-  font-size: 12px;
-  line-height: 1.4;
-  text-align: center;
-  border: 1px solid #ddd;
-}
-.bs-glyphicons .glyphicon {
-  display: block;
-  margin: 5px auto 10px;
-  font-size: 24px;
-}
-.bs-glyphicons li:hover {
-  background-color: rgba(86,61,124,.1);
-}
-
-@media (min-width: 768px) {
-  .bs-glyphicons li {
-    width: 12.5%;
-  }
-}
-</style>
-
-
   <!-- Glyphicons
   ================================================== -->
   <div class="bs-docs-section">