Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

aa.gusti / tangsel-base

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • tangsel-base
  • ..
  • less
  • _sizing.less
  • aa.gustiana@gmail.com's avatar
    views dan template · 94106652
    aa.gustiana@gmail.com committed May 27, 2025
    94106652
_sizing.less 364 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// sizing icons
// -------------------------

// literal magnification scale
.sizes-literal(@factor) when (@factor > 0) {
  .sizes-literal((@factor - 1));

  .@{fa-css-prefix}-@{factor}x {
    font-size: (@factor * 1em);
  }
}
.sizes-literal(10);

// step-based scale (with alignment)
each(.fa-sizes(), {
  .@{fa-css-prefix}-@{key} {
    .fa-size(@value);
  }
});