_sizing.less 364 B

12345678910111213141516171819
  1. // sizing icons
  2. // -------------------------
  3. // literal magnification scale
  4. .sizes-literal(@factor) when (@factor > 0) {
  5. .sizes-literal((@factor - 1));
  6. .@{fa-css-prefix}-@{factor}x {
  7. font-size: (@factor * 1em);
  8. }
  9. }
  10. .sizes-literal(10);
  11. // step-based scale (with alignment)
  12. each(.fa-sizes(), {
  13. .@{fa-css-prefix}-@{key} {
  14. .fa-size(@value);
  15. }
  16. });