2
0
mirror of https://github.com/erikflowers/weather-icons.git synced 2025-10-13 07:52:12 -06:00

putting variables in other file

This commit is contained in:
Erik Flowers 2015-07-31 11:14:52 -07:00
parent f2667f7323
commit 2e53f34540
5 changed files with 16 additions and 20 deletions

View File

@ -24,14 +24,14 @@
* Twitter: http://twitter.com/Erik_UX * Twitter: http://twitter.com/Erik_UX
*/ */
@font-face { @font-face {
font-family: "weathericons"; font-family: "weatherasdfasdficons";
src: url("../font/weathericons-regular-webfont.eot"); src: url("../font/weatherasdfasdficons-regular-webfont.eot");
src: url("../font/weathericons-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../font/weathericons-regular-webfont.woff") format("woff"), url("../font/weathericons-regular-webfont.ttf") format("truetype"), url("../font/weathericons-regular-webfont.svg#weathericons-regular-webfontRg") format("svg"); src: url("../font/weatherasdfasdficons-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../font/weatherasdfasdficons-regular-webfont.woff") format("woff"), url("../font/weatherasdfasdficons-regular-webfont.ttf") format("truetype"), url("../font/weatherasdfasdficons-regular-webfont.svg#weathericons-regular-webfontRg") format("svg");
font-weight: normal; font-weight: normal;
font-style: normal; } font-style: normal; }
.wi { .wi {
display: inline-block; display: inline-block;
font-family: "weathericons"; font-family: "weatherasdfasdficons";
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;

View File

@ -1,3 +1,9 @@
// Base Variables
@wi-path: "../font";
@wi-version: "2.0";
@wi-css-prefix: wi;
@wi-font-family: weathericons;
@font-face { @font-face {
font-family: '@{wi-font-family}'; 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');

View File

@ -1,11 +1,3 @@
// Base Variables
@wi-path: "../font";
@wi-version: "2.0";
@wi-css-prefix: wi;
@wi-font-family: weathericons;
//Glyph Names
@wi-icon-glyphs: @wi-icon-glyphs:
"_reserved_" "\f049", "_reserved_" "\f049",
"alien" "\f075", "alien" "\f075",

View File

@ -1,3 +1,9 @@
//Base Variables
$wi-path: "../font";
$wi-version: "2.0";
$wi-css-prefix: wi;
$wi-font-family: weatherasdfasdficons;
@font-face { @font-face {
font-family: '#{$wi-font-family}'; 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');

View File

@ -1,11 +1,3 @@
//Base Variables
$wi-path: "../font";
$wi-version: "2.0";
$wi-css-prefix: wi;
$wi-font-family: weathericons;
//Glyph Names
$wi-icon-glyphs: ( $wi-icon-glyphs: (
"day-cloudy-gusts": "\f000", "day-cloudy-gusts": "\f000",
"day-cloudy-windy": "\f001", "day-cloudy-windy": "\f001",