mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 13:31:30 +08:00
comment correction from #268, fontAwesomePath variable in less file
This commit is contained in:
parent
09499b3d84
commit
a03db6b60b
4
assets/css/font-awesome.css
vendored
4
assets/css/font-awesome.css
vendored
@ -22,7 +22,7 @@
|
||||
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
font-family: "FontAwesome";
|
||||
src: url('../font/fontawesome-webfont.eot');
|
||||
src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
|
||||
font-weight: normal;
|
||||
@ -107,7 +107,7 @@ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
|
||||
.icon-play-circle:before { content: "\f01d"; }
|
||||
.icon-repeat:before { content: "\f01e"; }
|
||||
|
||||
/* \f020 is not a valid unicode character. all shifted one down */
|
||||
/* \f020 doesn't work in Safari. all shifted one down */
|
||||
.icon-refresh:before { content: "\f021"; }
|
||||
.icon-list-alt:before { content: "\f022"; }
|
||||
.icon-lock:before { content: "\f023"; }
|
||||
|
@ -3933,7 +3933,7 @@ ul.icons li .icon-large:before {
|
||||
.icon-repeat:before {
|
||||
content: "\f01e";
|
||||
}
|
||||
/* \f020 is not a valid unicode character. all shifted one down */
|
||||
/* \f020 doesn't work in Safari. all shifted one down */
|
||||
.icon-refresh:before {
|
||||
content: "\f021";
|
||||
}
|
||||
|
14
assets/less/font-awesome.less
vendored
14
assets/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;
|
||||
}
|
||||
@ -131,7 +133,7 @@ ul.icons {
|
||||
.icon-play-circle:before { content: "\f01d"; }
|
||||
.icon-repeat:before { content: "\f01e"; }
|
||||
|
||||
/* \f020 is not a valid unicode character. all shifted one down */
|
||||
/* \f020 doesn't work in Safari. all shifted one down */
|
||||
.icon-refresh:before { content: "\f021"; }
|
||||
.icon-list-alt:before { content: "\f022"; }
|
||||
.icon-lock:before { content: "\f023"; }
|
||||
|
Loading…
Reference in New Issue
Block a user