summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/scss/_list.scss
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fontawesome-free-6.5.2-web/scss/_list.scss')
-rw-r--r--packages/fontawesome-free-6.5.2-web/scss/_list.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/fontawesome-free-6.5.2-web/scss/_list.scss b/packages/fontawesome-free-6.5.2-web/scss/_list.scss
new file mode 100644
index 0000000..ced36e2
--- /dev/null
+++ b/packages/fontawesome-free-6.5.2-web/scss/_list.scss
@@ -0,0 +1,18 @@
+// 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(var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}) * -1);
+ position: absolute;
+ text-align: center;
+ width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
+ line-height: inherit;
+}