diff --git a/docs/assets/css/site.css b/docs/assets/css/site.css
index c0b187580..f0f0d3edf 100644
--- a/docs/assets/css/site.css
+++ b/docs/assets/css/site.css
@@ -4525,20 +4525,14 @@ h6 {
border-width: 3px;
font-size: 17px;
line-height: 28px;
- left: 94.66666666666667px;
+ left: 100.66666666666667px;
}
#iconCarousel .carousel-control.right {
left: auto;
- right: 94.66666666666667px;
-}
-a[href^='http://']:after {
- font-family: FontAwesome;
- content: "\0020 \f08e";
-}
-a[href^='http://']:after:hover {
- text-decoration: none;
+ right: 100.66666666666667px;
}
.hero-unit {
+ margin-bottom: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
@@ -4674,6 +4668,52 @@ a[href^='http://']:after:hover {
text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
color: #333333;
}
+#social-buttons {
+ margin-bottom: 30px;
+ text-align: center;
+}
+#social-buttons .btn {
+ font-family: museo-slab, "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: bold;
+ font-size: 14px;
+ padding: 4px 10px 1px;
+ line-height: 21px;
+}
+#social-buttons .count.btn {
+ font-family: proxima-nova, "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: normal;
+ background-color: #ffffff;
+ background-image: -moz-linear-gradient(top, #ffffff, #ffffff);
+ background-image: -ms-linear-gradient(top, #ffffff, #ffffff);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#ffffff));
+ background-image: -webkit-linear-gradient(top, #ffffff, #ffffff);
+ background-image: -o-linear-gradient(top, #ffffff, #ffffff);
+ background-image: linear-gradient(top, #ffffff, #ffffff);
+ background-repeat: repeat-x;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0);
+ border-color: #ffffff #ffffff #d9d9d9;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ *background-color: #ffffff;
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
+
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
+}
+#social-buttons .count.btn:hover,
+#social-buttons .count.btn:active,
+#social-buttons .count.btn.active,
+#social-buttons .count.btn.disabled,
+#social-buttons .count.btn[disabled] {
+ background-color: #ffffff;
+ *background-color: #f2f2f2;
+}
+#social-buttons .count.btn:active,
+#social-buttons .count.btn.active {
+ background-color: #e6e6e6 \9;
+}
+#social-buttons .watch,
+#social-buttons .fork {
+ margin-right: 30px;
+}
.the-icons {
list-style-type: none;
margin-left: 0;
@@ -4846,6 +4886,10 @@ a[href^='http://']:after:hover {
.modal .modal-body .icon1 > div.thumbnail > div i {
font-size: 12px;
}
+.label,
+.badge {
+ background-color: #eeeeee;
+}
footer {
color: #555555;
border-top: 1px solid #eeeeee;
diff --git a/docs/assets/font/fontawesome-webfont.eot b/docs/assets/font/fontawesome-webfont.eot
index 8edb0f77b..89070c1e6 100755
Binary files a/docs/assets/font/fontawesome-webfont.eot and b/docs/assets/font/fontawesome-webfont.eot differ
diff --git a/docs/assets/font/fontawesome-webfont.svg b/docs/assets/font/fontawesome-webfont.svg
index 3f6a664bc..1245f92c2 100755
--- a/docs/assets/font/fontawesome-webfont.svg
+++ b/docs/assets/font/fontawesome-webfont.svg
@@ -12,7 +12,7 @@
-
+
@@ -35,218 +35,218 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/docs/assets/font/fontawesome-webfont.ttf b/docs/assets/font/fontawesome-webfont.ttf
index 76487b730..c17e9f8d1 100755
Binary files a/docs/assets/font/fontawesome-webfont.ttf and b/docs/assets/font/fontawesome-webfont.ttf differ
diff --git a/docs/assets/font/fontawesome-webfont.woff b/docs/assets/font/fontawesome-webfont.woff
index 94b13a479..09f2469a1 100755
Binary files a/docs/assets/font/fontawesome-webfont.woff and b/docs/assets/font/fontawesome-webfont.woff differ
diff --git a/docs/assets/js/index/index.js b/docs/assets/js/index/index.js
index fa249c769..e26a6e4dc 100644
--- a/docs/assets/js/index/index.js
+++ b/docs/assets/js/index/index.js
@@ -1,4 +1,34 @@
$(function() {
+ // start the icon carousel
+ $('#iconCarousel').carousel({
+ interval: 5000
+ });
+
+ // make code pretty
+ window.prettyPrint && prettyPrint();
+
+ // inject twitter & github counts
+ $.ajax({
+ url: 'http://api.twitter.com/1/users/show.json',
+ data: {screen_name: 'fortaweso_me'},
+ dataType: 'jsonp',
+ success: function(data) {
+ $('#followers').html(data.followers_count);
+ }
+ });
+ $.ajax({
+ url: 'http://github.com/api/v2/json/repos/show/FortAwesome/Font-Awesome',
+ dataType: 'jsonp',
+ success: function(data) {
+ $('#watchers').html(data.repository.watchers);
+ $('#forks').html(data.repository.forks);
+ }
+ });
+
+
+
+
+
var firstInHistory = true;
var MainView = Backbone.View.extend({
@@ -24,9 +54,18 @@ $(function() {
var MainRouter = Backbone.Router.extend({
routes: {
+ "": "checkModal",
"icon/:iconName": "showIcon"
},
+ checkModal: function() {
+ var $modal = $("div.modal");
+
+ if ($modal.length > 0) {
+ $modal.modal("hide");
+ }
+ },
+
showIcon: function(iconName) {
var $modal = $(mainView.modalTemplate({"iconName": iconName}));
diff --git a/docs/assets/less/site.less b/docs/assets/less/site.less
index 4cf2cfdee..60c2e3ab3 100644
--- a/docs/assets/less/site.less
+++ b/docs/assets/less/site.less
@@ -38,25 +38,26 @@ h1, h2, h3, h4, h5, h6 { font-family: @serifFontFamily; }
border-width: 3px;
font-size: 17px;
line-height: 28px;
- left: @size / 3 + 3;
+ left: @size / 3 + 9;
&.right {
left: auto;
- right: @size / 3 + 3;
+ right: @size / 3 + 9;
}
}
}
-a[href^='http://'] {
- &:after {
- font-family: FontAwesome;
- content: "\0020 \f08e";
- &:hover {
- text-decoration: none;
- }
- }
-}
+//a[href^='http://'] {
+// &:after {
+// font-family: FontAwesome;
+// content: "\0020 \f08e";
+// &:hover {
+// text-decoration: none;
+// }
+// }
+//}
.hero-unit {
+ margin-bottom: 20px;
.border-radius(20px);
// #gradient > .radial( lighten(@red, 10%), @red);
background-color: @red;
@@ -127,6 +128,27 @@ a[href^='http://'] {
}
}
+#social-buttons {
+ margin-bottom: 30px;
+ text-align: center;
+ .btn {
+ font-family: @serifFontFamily;
+ font-weight: bold;
+ font-size: @baseFontSize;
+ padding: 4px 10px 1px;
+ line-height: @baseLineHeight;
+ }
+ .count.btn {
+ font-family: @sansFontFamily;
+ font-weight: normal;
+ .buttonBackground(@white, @white);
+ }
+ .watch, .fork {
+ margin-right: 30px;
+ }
+}
+
+
.the-icons {
list-style-type: none;
margin-left: 0;
@@ -258,6 +280,12 @@ a[href^='http://'] {
}
}
+.label,
+.badge {
+ background-color: @grayLighter;
+}
+
+
footer {
color: @gray;
border-top: 1px solid @grayLighter;
diff --git a/docs/index.html b/docs/index.html
index bc8cef3d0..71ebbdd73 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -58,9 +58,9 @@
+
-
@@ -85,38 +85,53 @@
The iconic font designed for use with Twitter Bootstrap
+
+
-
70 New Icons in v2.0
+ Desktop Font + Vectors
+ The full desktop font and a pdf of vectors are now included. Happy designing.
+
+
IE7 Support
Font Awesome v2.0 now even supports IE7. If you need it, you have my condolences.
+
+
One font, 220 icons
In a single collection, Font Awesome is a pictographic language of web-related actions.
-
-
Free for commercial use
The Font Awesome webfont and CSS libraries are completely free for commercial use.
-
CSS control
- Easily style icon color, size, shadow, and anything that's possible with CSS.
-
-
-
Infinite scalability
- Scalable vector graphics means icons look awesome at any size.
+ Screen reader compatible
+ Font Awesome won't trip up screen readers, unlike most icon fonts.
-
Screen reader compatible
- Font Awesome won't trip up screen readers, unlike most icon fonts.
+ CSS control
+ Easily style icon color, size, shadow, and anything that's possible with CSS.
-
Follow on Twitter
- Follow
@fortaweso_me on Twitter for icon updates and styling tricks.
+
Infinite scalability
+ Scalable vector graphics means icons look awesome at any size.
@@ -1048,21 +1063,5 @@
-