Fork-Awesome/scss/_list.scss

22 lines
411 B
SCSS

// List Icons
// -------------------------
@use "sass:math";
.#{$fa-css-prefix}-ul {
padding-left: 0;
margin-left: $fa-li-width;
list-style-type: none;
> li { position: relative; }
}
.#{$fa-css-prefix}-li {
position: absolute;
left: -$fa-li-width;
width: $fa-li-width;
top: math.div(2em, 14);
text-align: center;
&.#{$fa-css-prefix}-lg {
left: -$fa-li-width + math.div(4em, 14);
}
}