mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-13 00:30:29 +08:00
Add a variable for the root directory.
This way, it can be easily overridden in other .less files.
This commit is contained in:
parent
449167359b
commit
c4f7bae291
12
less/font-awesome.less
vendored
12
less/font-awesome.less
vendored
@ -22,13 +22,15 @@
|
||||
|
||||
*/
|
||||
|
||||
@fontAwesomePath: '../font';
|
||||
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('../font/fontawesome-webfont.eot');
|
||||
src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../font/fontawesome-webfont.woff') format('woff'),
|
||||
url('../font/fontawesome-webfont.ttf') format('truetype'),
|
||||
url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
|
||||
src: url('@{fontAwesomePath}/fontawesome-webfont.eot');
|
||||
src: url('@{fontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('@{fontAwesomePath}/fontawesome-webfont.woff') format('woff'),
|
||||
url('@{fontAwesomePath}/fontawesome-webfont.ttf') format('truetype'),
|
||||
url('@{fontAwesomePath}/fontawesome-webfont.svg#FontAwesome') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user