Skip to content

Instantly share code, notes, and snippets.

@tobiastom
Created February 21, 2014 09:31
Show Gist options
  • Save tobiastom/9131325 to your computer and use it in GitHub Desktop.
Save tobiastom/9131325 to your computer and use it in GitHub Desktop.
// Generated by grunt-webfont
// Based on https://github.com/endtwist/fontcustom/blob/master/lib/fontcustom/templates/fontcustom.css
@font-face {
font-family:"Icons";
src:url("../asset/Icons.eot");
src:url("../asset/Icons.eot?#iefix") format("embedded-opentype"),
url("../asset/Icons.woff") format("woff"),
url("../asset/Icons.ttf") format("truetype"),
url("../asset/Icons.svg?#Icons") format("svg");
font-weight:normal;
font-style:normal;
}
// Bootstrap Overrides
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family:"Icons";
display:inline-block;
font-weight:normal;
font-style:normal;
speak:none;
text-decoration:inherit;
text-transform:none;
text-rendering:optimizeLegibility;
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}
// Mixins
.icon-add,
.icon-breadcrumb {
&:before {
font-family:"Icons";
display:inline-block;
font-weight:normal;
font-style:normal;
text-decoration:inherit;
}
}
// Mixins
.icon-add {
&:before {
content:"\f100";
}
}
.icon-breadcrumb {
&:before {
content:"\f101";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment