mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
20 lines
364 B
Plaintext
20 lines
364 B
Plaintext
// 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);
|
|
}
|
|
});
|