mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01: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-face {
|
||||||
font-family: 'FontAwesome';
|
font-family: "FontAwesome";
|
||||||
src: url('../font/fontawesome-webfont.eot');
|
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');
|
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;
|
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-play-circle:before { content: "\f01d"; }
|
||||||
.icon-repeat:before { content: "\f01e"; }
|
.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-refresh:before { content: "\f021"; }
|
||||||
.icon-list-alt:before { content: "\f022"; }
|
.icon-list-alt:before { content: "\f022"; }
|
||||||
.icon-lock:before { content: "\f023"; }
|
.icon-lock:before { content: "\f023"; }
|
||||||
|
@ -3933,7 +3933,7 @@ ul.icons li .icon-large:before {
|
|||||||
.icon-repeat:before {
|
.icon-repeat:before {
|
||||||
content: "\f01e";
|
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 {
|
.icon-refresh:before {
|
||||||
content: "\f021";
|
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-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;
|
||||||
}
|
}
|
||||||
@ -131,7 +133,7 @@ ul.icons {
|
|||||||
.icon-play-circle:before { content: "\f01d"; }
|
.icon-play-circle:before { content: "\f01d"; }
|
||||||
.icon-repeat:before { content: "\f01e"; }
|
.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-refresh:before { content: "\f021"; }
|
||||||
.icon-list-alt:before { content: "\f022"; }
|
.icon-list-alt:before { content: "\f022"; }
|
||||||
.icon-lock:before { content: "\f023"; }
|
.icon-lock:before { content: "\f023"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user