mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 21:41:29 +08:00
37eff7fa00
Co-authored-by: robmadole <robmadole@users.noreply.github.com>
19 lines
447 B
SCSS
19 lines
447 B
SCSS
// 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}));
|
|
position: absolute;
|
|
text-align: center;
|
|
width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
|
|
line-height: inherit;
|
|
}
|