Added font-face and default style class to css output.

pull/60/head
Lasse S. Haslev 9 years ago
parent fc6d8894c2
commit fed6e26f9a

@ -5,6 +5,28 @@
@import "partials/functions";
@import "partials/mixins";
// Add class for
@font-face {
font-family: '#{$weather-icons-font-family}';
src: url('#{$weather-icons-path}/#{$weather-icons-font-family}-regular-webfont.eot');
src: url('#{$weather-icons-path}/#{$weather-icons-font-family}-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$weather-icons-path}/#{$weather-icons-font-family}-regular-webfont.woff') format('woff'),
url('#{$weather-icons-path}/#{$weather-icons-font-family}-regular-webfont.ttf') format('truetype'),
url('#{$weather-icons-path}/#{$weather-icons-font-family}-regular-webfont.svg#weathericons-regular-webfontRg') format('svg');
font-weight: normal;
font-style: normal;
}
.#{$weather-icons-prefix} {
display: inline-block;
font-family: '#{$weather-icons-font-family}';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
// Create all icon classes
@include icons($collection);

Loading…
Cancel
Save