mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-04-02 22:59:14 +08:00

Updated dur to deprecation warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0 Signed-off-by: mikejackson <mike@freightlink.co.uk>
26 lines
426 B
SCSS
26 lines
426 B
SCSS
@use "sass:math";
|
|
|
|
// Icon Sizes
|
|
// -------------------------
|
|
|
|
// makes the font 33% larger relative to the icon container
|
|
.#{$fa-css-prefix}-lg {
|
|
font-size: math.div(4em, 3);
|
|
line-height: math.div(3em, 4);
|
|
vertical-align: -.0667em;
|
|
}
|
|
|
|
.#{$fa-css-prefix}-xs {
|
|
font-size: .75em;
|
|
}
|
|
|
|
.#{$fa-css-prefix}-sm {
|
|
font-size: .875em;
|
|
}
|
|
|
|
@for $i from 1 through 10 {
|
|
.#{$fa-css-prefix}-#{$i}x {
|
|
font-size: $i * 1em;
|
|
}
|
|
}
|