1
0
mirror of https://github.com/danbee/cv synced 2025-03-04 08:59:12 +00:00
cv/source/css/_iconfont.scss
Dan Barber 861d947fe3 Move the site over to Middleman.
This includes converting the haml templates to erb.
2015-02-14 14:48:04 +00:00

63 lines
1.4 KiB
SCSS

@font-face {
font-family: 'icomoon';
src:url('../fonts/icomoon.eot');
src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('../fonts/icomoon.woff') format('woff'),
url('../fonts/icomoon.ttf') format('truetype'),
url('../fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
font-family: 'icomoon';
content: attr(data-icon);
speak: none;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
*/
[class*="icon-"]:before {
font-family: 'icomoon';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
.icon-logo:before {
content: "\e000";
}
.icon-mail:before {
content: "\e001";
}
.icon-earth:before {
content: "\e002";
}
.icon-phone:before {
content: "\e003";
}
.icon-github:before {
content: "\e004";
}
.icon-twitter:before {
content: "\e006";
}
.icon-apple:before {
content: "\e007";
}
.icon-skype:before {
content: "\e005";
}