stacked.less 485 B

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