stacked.less 486 B

123456789101112131415161718192021222324252627282930
  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 {
  18. line-height: inherit;
  19. }
  20. .@{fa-css-prefix}-stack-2x {
  21. font-size: 2em;
  22. }
  23. .@{fa-css-prefix}-inverse {
  24. color: @fa-inverse;
  25. }