_stacked.scss 505 B

1234567891011121314151617181920212223242526272829303132
  1. // Stacked Icons
  2. // -------------------------
  3. .#{$fa-css-prefix}-stack {
  4. display: inline-block;
  5. height: 2em;
  6. line-height: 2em;
  7. position: relative;
  8. vertical-align: middle;
  9. width: ($fa-fw-width*2);
  10. }
  11. .#{$fa-css-prefix}-stack-1x,
  12. .#{$fa-css-prefix}-stack-2x {
  13. left: 0;
  14. position: absolute;
  15. text-align: center;
  16. width: 100%;
  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. }