UNPKG

634 Btext/lessView Raw
1// stacking icons
2// -------------------------
3
4.@{fa-css-prefix}-stack {
5 display: inline-block;
6 height: 2em;
7 line-height: 2em;
8 position: relative;
9 vertical-align: @fa-stack-vertical-align;
10 width: @fa-stack-width;
11}
12
13.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
14 left: 0;
15 position: absolute;
16 text-align: center;
17 width: 100%;
18 z-index: ~'var(--@{fa-css-prefix}-stack-z-index, @{fa-stack-z-index})';
19}
20
21.@{fa-css-prefix}-stack-1x {
22 line-height: inherit;
23}
24
25.@{fa-css-prefix}-stack-2x {
26 font-size: 2em;
27}
28
29.@{fa-css-prefix}-inverse {
30 color: ~'var(--@{fa-css-prefix}-inverse, @{fa-inverse})';
31}