mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-27 14:01:32 +08:00
Merge pull request #256 from rsenk330/font-path-variable
Add a variable for the root directory to the less files
This commit is contained in:
commit
99b5966fb4
12
less/font-awesome.less
vendored
12
less/font-awesome.less
vendored
@ -22,13 +22,15 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@fontAwesomePath: '../font';
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'FontAwesome';
|
font-family: 'FontAwesome';
|
||||||
src: url('../font/fontawesome-webfont.eot');
|
src: url('@{fontAwesomePath}/fontawesome-webfont.eot');
|
||||||
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
src: url('@{fontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
url('../font/fontawesome-webfont.woff') format('woff'),
|
url('@{fontAwesomePath}/fontawesome-webfont.woff') format('woff'),
|
||||||
url('../font/fontawesome-webfont.ttf') format('truetype'),
|
url('@{fontAwesomePath}/fontawesome-webfont.ttf') format('truetype'),
|
||||||
url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
|
url('@{fontAwesomePath}/fontawesome-webfont.svg#FontAwesome') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user