You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MiaCTFer/web/static/lib/font-awesome-4.7.0/scss/_path.scss

25 lines
1.4 KiB

/* FONT PATH
* -------------------------- */
@font-face {
/* 定义字体的名称为'FontAwesome'。 */
font-family: 'FontAwesome';
/* 加载字体文件,首先尝试加载.eot 格式的字体文件,并包含版本号。 */
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
/* 针对 Internet Explorer 的修复,使用.iefix 和版本号,格式为'embedded-opentype'。 */
src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
/* 加载.woff2 格式的字体文件,并包含版本号。 */
url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'),
/* 加载.woff 格式的字体文件,并包含版本号。 */
url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
/* 加载.ttf 格式的字体文件,并包含版本号。 */
url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
/* 加载.svg 格式的字体文件,并包含版本号和特定的标识符。 */
url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
/* 这一行是在开发字体时使用的,加载.opentype 格式的字体文件。 */
// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype');
/* 设置字体的粗细为正常。 */
font-weight: normal;
/* 设置字体的样式为正常。 */
font-style: normal;
}