aboutsummaryrefslogtreecommitdiff
path: root/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-18 19:04:30 -0700
committerMark Otto <[email protected]>2013-08-18 19:04:30 -0700
commit841dac58caed00f5955aa0e16ed544ea304ea9d5 (patch)
tree37902cd3c4d8738f026117ed52c3242ff36d7848 /assets/css/docs.css
parent9dcae610e97c5422652d7212fda5985de1653d4c (diff)
downloadbootstrap-841dac58caed00f5955aa0e16ed544ea304ea9d5.tar.xz
bootstrap-841dac58caed00f5955aa0e16ed544ea304ea9d5.zip
move glyphicons styles to docs css
Diffstat (limited to 'assets/css/docs.css')
-rw-r--r--assets/css/docs.css41
1 files changed, 41 insertions, 0 deletions
diff --git a/assets/css/docs.css b/assets/css/docs.css
index 446b6afe9..fb3e2c689 100644
--- a/assets/css/docs.css
+++ b/assets/css/docs.css
@@ -19,6 +19,7 @@
* Examples
* Code snippets (highlight)
* Responsive tests
+ * Glyphicons
* Customizer
* Miscellaneous
*/
@@ -945,6 +946,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
*
* Since this is so form control heavy, we have quite a few styles to customize