_stacked.scss 482B

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