S4WEB/css/fontawesome-free-6.4.0-web/less/_sizing.less

20 lines
364 B
Plaintext
Raw Normal View History

2023-03-30 10:11:56 +02:00
// 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);
}
});