_stacked.less 478 B

1234567891011121314151617181920212223
  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: 2em;
  10. }
  11. .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
  12. left: 0;
  13. position: absolute;
  14. text-align: center;
  15. width: 100%;
  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; }