mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-25 21:11:30 +08:00
17 lines
308 B
SCSS
17 lines
308 B
SCSS
// sizing icons
|
|
// -------------------------
|
|
|
|
// literal magnification scale
|
|
@for $i from 1 through 10 {
|
|
.#{$fa-css-prefix}-#{$i}x {
|
|
font-size: $i * 1em;
|
|
}
|
|
}
|
|
|
|
// step-based scale (with alignment)
|
|
@each $size, $value in $fa-sizes {
|
|
.#{$fa-css-prefix}-#{$size} {
|
|
@include fa-size($value);
|
|
}
|
|
}
|