| 1 |
// Stacked icons |
| 2 |
// ------------------------- |
| 3 |
@use './variables' as *; |
| 4 |
@use 'sass:math'; |
| 5 |
|
| 6 |
.#{$fa-css-prefix}-stack { |
| 7 |
display: inline-block; |
| 8 |
height: 2em; |
| 9 |
line-height: 2em; |
| 10 |
position: relative; |
| 11 |
vertical-align: middle; |
| 12 |
width: math.div($fa-fw-width, 2); |
| 13 |
} |
| 14 |
|
| 15 |
.#{$fa-css-prefix}-stack-1x, |
| 16 |
.#{$fa-css-prefix}-stack-2x { |
| 17 |
left: 0; |
| 18 |
position: absolute; |
| 19 |
text-align: center; |
| 20 |
width: 100%; |
| 21 |
} |
| 22 |
|
| 23 |
.#{$fa-css-prefix}-stack-1x { |
| 24 |
line-height: inherit; |
| 25 |
} |
| 26 |
|
| 27 |
.#{$fa-css-prefix}-stack-2x { |
| 28 |
font-size: 2em; |
| 29 |
} |
| 30 |
|
| 31 |
.#{$fa-css-prefix}-inverse { |
| 32 |
color: $fa-inverse; |
| 33 |
} |