_stacked.scss (505B)
1 // Stacked 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: middle; 10 width: ($fa-fw-width*2); 11 } 12 13 .#{$fa-css-prefix}-stack-1x, 14 .#{$fa-css-prefix}-stack-2x { 15 left: 0; 16 position: absolute; 17 text-align: center; 18 width: 100%; 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: $fa-inverse; 31 }