_stacked.scss 488 B

123456789101112131415161718192021222324252627
  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,
  12. .#{$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 {
  19. line-height: inherit;
  20. }
  21. .#{$fa-css-prefix}-stack-2x {
  22. font-size: 2em;
  23. }
  24. .#{$fa-css-prefix}-inverse {
  25. color: $fa-inverse;
  26. }