]>
Commit | Line | Data |
---|---|---|
047d4d29 MR |
1 | // Stacked Icons |
2 | // ------------------------- | |
3 | ||
4 | .#{$fa-css-prefix}-stack { | |
5 | position: relative; | |
6 | display: inline-block; | |
7 | width: 2em; | |
8 | height: 2em; | |
9 | line-height: 2em; | |
10 | vertical-align: middle; | |
11 | } | |
12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { | |
13 | position: absolute; | |
14 | left: 0; | |
15 | width: 100%; | |
16 | text-align: center; | |
17 | } | |
18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } | |
19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } | |
20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } |