Font-Awesome/js-packages/@fortawesome/fontawesome-free/scss/_list.scss

19 lines
447 B
SCSS
Raw Normal View History

2022-02-08 04:16:51 +08:00
// icons in a list
// -------------------------
.#{$fa-css-prefix}-ul {
list-style-type: none;
margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
padding-left: 0;
> li { position: relative; }
}
.#{$fa-css-prefix}-li {
left: calc(-1 * var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}));
2022-02-08 04:16:51 +08:00
position: absolute;
text-align: center;
width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
line-height: inherit;
}