From 24d2187f8141a8abbd05e41cc7f113fac5751b6a Mon Sep 17 00:00:00 2001 From: Tommy Chen Date: Wed, 6 Jun 2012 11:51:27 +0800 Subject: add icon font --- sass/base/_font.scss | 17 +++- source/font/fontawesome-webfont.eot | Bin 0 -> 42272 bytes source/font/fontawesome-webfont.svg | 175 +++++++++++++++++++++++++++++++++++ source/font/fontawesome-webfont.svgz | Bin 0 -> 21845 bytes source/font/fontawesome-webfont.ttf | Bin 0 -> 41916 bytes source/font/fontawesome-webfont.woff | Bin 0 -> 23416 bytes 6 files changed, 191 insertions(+), 1 deletion(-) create mode 100755 source/font/fontawesome-webfont.eot create mode 100755 source/font/fontawesome-webfont.svg create mode 100755 source/font/fontawesome-webfont.svgz create mode 100755 source/font/fontawesome-webfont.ttf create mode 100755 source/font/fontawesome-webfont.woff diff --git a/sass/base/_font.scss b/sass/base/_font.scss index ac8b2ae..907e406 100644 --- a/sass/base/_font.scss +++ b/sass/base/_font.scss @@ -1,2 +1,17 @@ $font-default: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; -$font-mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; \ No newline at end of file +$font-mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; + +$font-icon: FontAwesome; +$font-icon-path: "/font/fontawesome-webfont"; + +@font-face { + font-family: 'FontAwesome'; + src: url('#{$font-icon-path}.eot'); + src: url('#{$font-icon-path}.eot?#iefix') format('embedded-opentype'), + url('#{$font-icon-path}.woff') format('woff'), + url('#{$font-icon-path}.ttf') format('truetype'), + url('#{$font-icon-path}.svgz#FontAwesomeRegular') format('svg'), + url('#{$font-icon-path}.svg#FontAwesomeRegular') format('svg'); + font-weight: normal; + font-style: normal; +} \ No newline at end of file diff --git a/source/font/fontawesome-webfont.eot b/source/font/fontawesome-webfont.eot new file mode 100755 index 0000000..3f669a7 Binary files /dev/null and b/source/font/fontawesome-webfont.eot differ diff --git a/source/font/fontawesome-webfont.svg b/source/font/fontawesome-webfont.svg new file mode 100755 index 0000000..73c0ad9 --- /dev/null +++ b/source/font/fontawesome-webfont.svg @@ -0,0 +1,175 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Designer : Dave Gandy +Foundry : Fort Awesome + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/font/fontawesome-webfont.svgz b/source/font/fontawesome-webfont.svgz new file mode 100755 index 0000000..2a73cd7 Binary files /dev/null and b/source/font/fontawesome-webfont.svgz differ diff --git a/source/font/fontawesome-webfont.ttf b/source/font/fontawesome-webfont.ttf new file mode 100755 index 0000000..4972eb4 Binary files /dev/null and b/source/font/fontawesome-webfont.ttf differ diff --git a/source/font/fontawesome-webfont.woff b/source/font/fontawesome-webfont.woff new file mode 100755 index 0000000..6e4cb41 Binary files /dev/null and b/source/font/fontawesome-webfont.woff differ -- cgit v1.1-2-g2b99