2
0
mirror of https://github.com/erikflowers/weather-icons.git synced 2025-10-12 15:32:13 -06:00
erikflowers_weather-icons/sass/weather-icons-classes.scss

30 lines
1009 B
SCSS
Raw Normal View History

2015-07-28 12:28:00 -07:00
@font-face {
font-family: '#{$wi-font-family}';
src: url('#{$wi-path}/#{$wi-font-family}-regular-webfont.eot');
src: url('#{$wi-path}/#{$wi-font-family}-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$wi-path}/#{$wi-font-family}-regular-webfont.woff') format('woff'),
url('#{$wi-path}/#{$wi-font-family}-regular-webfont.ttf') format('truetype'),
url('#{$wi-path}/#{$wi-font-family}-regular-webfont.svg#weathericons-regular-webfontRg') format('svg');
font-weight: normal;
font-style: normal;
}
.#{$wi-css-prefix} {
display: inline-block;
font-family: '#{$wi-font-family}';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
// icon definitions
// --------------------------
2015-07-28 12:28:00 -07:00
// create icon definitions
2015-07-28 12:28:00 -07:00
@each $wi-glyph-name, $wi-glyph-content in $wi-icon-glyphs {
.#{$wi-css-prefix}-#{$wi-glyph-name}:before {
content: $wi-glyph-content;
}
}