_larger.less 454 B

12345678910111213141516171819202122232425262728
  1. // Icon Sizes
  2. // -------------------------
  3. .larger(@factor) when (@factor > 0) {
  4. .larger((@factor - 1));
  5. .@{fa-css-prefix}-@{factor}x {
  6. font-size: (@factor * 1em);
  7. }
  8. }
  9. /* makes the font 33% larger relative to the icon container */
  10. .@{fa-css-prefix}-lg {
  11. font-size: (4em / 3);
  12. line-height: (3em / 4);
  13. vertical-align: -.0667em;
  14. }
  15. .@{fa-css-prefix}-xs {
  16. font-size: .75em;
  17. }
  18. .@{fa-css-prefix}-sm {
  19. font-size: .875em;
  20. }
  21. .larger(10);