Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using smiley @font-face syntax for Font Awesome

  • Loading branch information...
commit adb0ccafcf3dc3ccea6c11097d13e7f27d9b6044 1 parent a570427
@kremalicious authored
View
2  html/wp-content/themes/kremalicious2/assets/css/kremalicious2.min.css
1 addition, 1 deletion not shown
View
12 html/wp-content/themes/kremalicious2/assets/less/icons.less
@@ -8,12 +8,15 @@
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome/font/fontawesome-webfont.eot');
- src: url('../fonts/fontawesome/font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
+ // http://paulirish.com/2010/font-face-gotchas/#smiley
+ src: local(''),
+ url('../fonts/fontawesome/font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/fontawesome/font/fontawesome-webfont.woff') format('woff'),
url('../fonts/fontawesome/font/fontawesome-webfont.ttf') format('truetype'),
url('../fonts/fontawesome/font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
- font-weight: normal;
- font-style: normal;
+ font-weight:normal;
+ font-style:normal;
+ font-variant:normal;
}
[class^="icon-"]:before,
@@ -28,8 +31,7 @@ a[rel^="category "]:before {
margin-right: .5em;
color: @textColorDimmed;
.transition(color .3s ease-in-out);
- -webkit-font-smoothing: antialiased;
- font-smoothing: antialiased;
+ .antialiasing();
}
#menubar [class^="icon-"]:before,
Please sign in to comment.
Something went wrong with that request. Please try again.